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

refactor: Better utilize suspense in REPL #1150

Merged
merged 7 commits into from
Jun 24, 2024
Merged

refactor: Better utilize suspense in REPL #1150

merged 7 commits into from
Jun 24, 2024

Conversation

rschristian
Copy link
Member

(and hopefully simplifies the component considerably)

The only intentional difference to the previous system is that the 'Share' button will now prefer the ?example query if applicable -- previously it would always swap that to ?code=....

Should be a couple fewer renders and a clearer flow. Working on #1148 and was a tad overwhelmed with how state was bouncing around.

@rschristian rschristian merged commit 57636a5 into master Jun 24, 2024
5 checks passed
@rschristian rschristian deleted the refactor/repl branch June 24, 2024 01:13
rschristian added a commit that referenced this pull request Jun 30, 2024
* refactor: Clean up tutorial & REPL, fix ?code query param

* chore: Disable `react/jsx-no-bind` lint rule

* fix: REPL 'Share' button triggered confirmation dialog
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