5e4886cdb9
Replicates the behaviour of the `with-mobx` example but implemented using `mobx-react-lite` and React context. I'm still working out a best practice regarding actions and welcome feedback on anything.
8 lines
195 B
JavaScript
8 lines
195 B
JavaScript
import React from 'react'
|
|
import Page from '../components/Page'
|
|
|
|
export default class Counter extends React.Component {
|
|
render () {
|
|
return <Page title='Index Page' linkTo='/other' />
|
|
}
|
|
}
|