It was good if you showed the all code of the index.js file.
For other guys who were stuck on the creation of the store, follow the Usage guide: github.com/kirill-konshin/next-red...
Long story short, in your _app.tsx file:
import React, {FC} from 'react';
import {AppProps} from 'next/app';
import {wrapper} from '../components/store';
const WrappedApp: FC<AppProps> = ({Component, pageProps}) => (
<Component {...pageProps} />
);
export default wrapper.withRedux(WrappedApp);
Absolutely, I had edited this article with link repository below the article.
Thanks you for reading.
And I got have a new post deploy express to Vercel. Hope you will read this article.
It was good if you showed the all code of the index.js file.
For other guys who were stuck on the creation of the store, follow the
Usage
guide: github.com/kirill-konshin/next-red...Long story short, in your
_app.tsx
file:Absolutely, I had edited this article with link repository below the article.
Thanks you for reading.
And I got have a new post deploy express to Vercel. Hope you will read this article.
But this is not an Express application? Are you planning a post to explain how you deployed your shopping cart to Vercel?
Yep, if you want, I will do that for you. Follow me, it's comming in this week.