seagull-js/seagull

View on GitHub
examples/helloworld/src/routes/async_fetching_mobx.ts

Summary

Maintainability
A
40 mins
Test Coverage
import { Route, RouteContext } from '@seagull/routes'

export default class TicTacToe extends Route {
  static path = '/async-fetching/mobx'
  static async handler(this: RouteContext) {
    this.render('AsyncFetchingMobx', {
      initialData: 'this will change after you click the button above',
    })
  }
}