Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: pyodide additional remounting #1046

Merged
merged 1 commit into from
Apr 1, 2024
Merged

Conversation

mscolnick
Copy link
Contributor

@mscolnick mscolnick commented Apr 1, 2024

The useAsyncData would not start in the load state, which would cause an additional re-render while in pyodide mounting/unmounting the application and missing some initialization code.

This also fixes the autosave since that was not initialized with the correct data.

Copy link

vercel bot commented Apr 1, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
marimo-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2024 3:23pm
marimo-storybook ✅ Ready (Inspect) Visit Preview 💬 Add feedback Apr 1, 2024 3:23pm

@akshayka akshayka merged commit 084fa3a into main Apr 1, 2024
29 checks passed
@akshayka akshayka deleted the ms/fix-pyodide-remounting branch April 1, 2024 17:10
Benni-Math pushed a commit to Benni-Math/marimo that referenced this pull request Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants