14 | 15 | {count} 16 | 17 |
18 |14 | 15 | {count} 16 | 17 |
18 |14 | 15 | {count} 16 | 17 |
18 |14 | 15 | {count} 16 | 17 |
18 |14 | 15 | {count} 16 | 17 |
18 |{JSON.stringify(state, null, 2)}
18 | }
19 |
--------------------------------------------------------------------------------
/packages/react-imvc-v3/project/src/loading/Controller.tsx:
--------------------------------------------------------------------------------
1 | import Controller from '../../../src/controller'
2 | import React from 'react'
3 | import { Location, Context } from '../../../src/'
4 | export default class extends Controller<{}, {}> {
5 | SSR = false // enable server side rendering
6 | View = View
7 | Loading = Loading
8 | constructor(location: Location, context: Context) {
9 | super(location, context)
10 | }
11 | }
12 |
13 | function View() {
14 | return 14 | 15 | {count} 16 | 17 |
18 |14 | 15 | {count} 16 | 17 |
18 |14 | 15 | {count} 16 | 17 |
18 |14 | 15 | {count} 16 | 17 |
18 |14 | 15 | {count} 16 | 17 |
18 |