Don't expose store to Redux Tools in production (#8)
Don't expose store to Redux Tools in production (#8)

* Don't expose store to Redux Tools in production

This might be considered a bit opinionated, but for security reasons, I think **the store should only be exposed to React Tools in development mode**.

Adding a simple check should do the trick.

What do you think?

* Update store.js(Follow forth-coming code guide)

Hardyng/weatherforecast-nextjs-redux-ssr,ooade/NextSimpleStarter