Skip to content

jonniebigodes/gatsby-example-mobx

Repository files navigation

MOBX

Using mobx with gatsby

Gatsby example site that shows use of mobx.

Overview

To use mobx in a Gatsby site you'll need to hook in to two of Gatsby's extension points.

Once in wrapRootElement which runs during Gatsby's server rendering process, and once in wrapRootElement which is part of Gatsby's browser APIs.

Check out ./gatsby-ssr.js and ./gatsby-browser.js to see how this is implemented in this example.

More information

mobx-react-devtools package is now deprecated and was removed. As it could generate this error.

To allow access to some form of development tools, install the plugin for your browser of choice like mentioned here.

Official Documentation

License

MIT

Free Software, Hell Yeah!

About

Simple example gatsbyjs to work with mobx

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published