Skip to content

sample react app using overmind for state manangement

Notifications You must be signed in to change notification settings

ReneCode/react-overmind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React app using overmind for state management

using createModals

I clone codesandbox-client and took the "createModals" code.

in src/overmind/index I used that createModals.

typescript error

in src/App.tsx I want to call the open action of the editPageModal.

actions.modals.editPageModal.open();

but I got an typescript error:

Failed to compile.

/Users/rene/work/epl/react-overmind/src/App.tsx TypeScript error in /Users/rene/work/epl/react-overmind/src/App.tsx(10,13): Property 'modals' does not exist on type '{}'. TS2339

overmind dev tools

using the overmind dev tools (localhost:3031) all looks fine. The modals are added to the state and actions.

About

sample react app using overmind for state manangement

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages