Skip to content

Instantly share code, notes, and snippets.

@davo
Last active August 12, 2019 15:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save davo/d75b60d6498b28c94740c92a5305c57f to your computer and use it in GitHub Desktop.
Save davo/d75b60d6498b28c94740c92a5305c57f to your computer and use it in GitHub Desktop.
Persisting State on Framer X

State Management on Framer X with React

Here is a collection of implementation strategies to manage state on Framer X. Feel free to contribute your own strategies and ideas.

Examples marked with a checkmark mean that some examples has been provided on this repo.

State Management on Framer X

Only for Framer X

  • With Data & Overrides
  • With Koen Bok's Store hook + Overrides

No dependencies

  • With useState() + Custom Hook
  • With useContext() hook
  • With useContext() + useReducer() strategy

With dependencies

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment