Skip to content

Triggering animations from Context Provider/Zustand store #1411

Answered by KrisLau
KrisLau asked this question in Q&A
Discussion options

You must be logged in to vote

Not sure if there's a better way but I think I figured it out. So I had to move all of my logic and positioning into a different context provider so that the overlay context provider would be able to access my predefined animation functions.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@wcandillon
Comment options

Answer selected by KrisLau
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants