Category "redux-store"

Easy-Peasy StoreProvider returns the error "Property 'children' does not exist on type..."

I got this error on <StoreProvider ...> Why? What can be wrong with the children? :( TS2769: No overload matches this call. Overload 1 of 2, '(props: {

How can I dispatch an action using useEffect in main app.js?

I want to dispatch an action whenever any page or component of my app loads. So what I am trying to do is to dispatch the action using store.dispatch inside use