Code Overrides » Sharing Data Between Overrides
Sharing Data Between Overrides
With the useState() hook, we gave our override its own state. Framer’s CreateStore function also provides a state, but one that you can share between overrides.Local state versus shared state Local state: in the override Shared state: use CreateStore Communicating between overrides How to use CreateStoreImport it Create a store Call useStore() inside the overrides […]