Skip to content

Conversation

gribnoysup
Copy link
Collaborator

Stumbled on this when adding new "Open shell" buttons in Compas. Because we are evaling these initial values async, we need to store the initial value syncronously when component is first mounted, otherwise it can already update at the moment when we're reading it from the props object

@gribnoysup gribnoysup merged commit 50fbbdb into main Jul 5, 2024
@gribnoysup gribnoysup deleted the fix-initial-evaluate branch July 5, 2024 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants