rsnext/examples/with-mobx-react-lite/pages/other.js
John Lombardo 5e4886cdb9 Port with-mobx to with-mobx-react-lite (#6617)
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.
2019-03-16 16:47:28 +01:00

8 lines
190 B
JavaScript

import React from 'react'
import Page from '../components/Page'
export default class Counter extends React.Component {
render () {
return <Page title='Other Page' linkTo='/' />
}
}