wrapper redux provider store providerwithstore code example
Example: can you wrap redux provider within react.strictmode
// React.StrictMode should wrap the whole application including the provider too. So Change your code like bellow:
<React.StrictMode>
<Provider store={store}>
<App />
</Provider>
</React.StrictMode>,
document.getElementById('root')