rsnext/examples/with-redux-thunk/pages
TodorTotev f3ea363df7
Refactor with redux thunk example (#13336)
Related to [11014](https://github.com/zeit/next.js/issues/11014)

1. I have changed the component from class to functional.
2. I have removed the getInitialProps and used getStaticProps instead.
3. I have removed the redundant connect to redux @ the index page, due to the fact that now we can dispatch the action with the required hook.

If you want me to change anything or you are not satisfied with any given change, I'm open to suggestions.
2020-05-25 16:55:33 +00:00
..
_app.js chore: Remove redundant imports in several examples (#13030) 2020-05-18 13:02:23 -04:00
index.js Refactor with redux thunk example (#13336) 2020-05-25 16:55:33 +00:00
show-redux-state.js Upgrade to Prettier 2 (#13061) 2020-05-18 15:24:37 -04:00