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

Automatically sync playground URL #937

Merged
merged 5 commits into from
Nov 12, 2024
Merged

Automatically sync playground URL #937

merged 5 commits into from
Nov 12, 2024

Conversation

tsnobip
Copy link
Contributor

@tsnobip tsnobip commented Nov 12, 2024

Right now, Copy Share Link button is a bit broken, it reloads the whole page.

So I used shallow replace to avoid that. Since syncing the URL was then almost instant, I thought that syncing the URL while typing or on version/module system switch would be nice too so I implemented it.

Copy link

vercel bot commented Nov 12, 2024

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

Name Status Preview Comments Updated (UTC)
rescript-lang.org ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 12, 2024 2:33pm

@fhammerschmidt
Copy link
Member

fhammerschmidt commented Nov 12, 2024

any reason why you deleted the Next.resi?
Edit: probably because it is just bindings anyway so duplicated code? That is ok.

@tsnobip
Copy link
Contributor Author

tsnobip commented Nov 12, 2024

any reason why you deleted the Next.resi?

@fhammerschmidt I guess Next.res (and before Next.re) originally had some runtime code, now it's pure bindings so the interface file is redundant and actually the interface file was even wrong because it used let signature instead of external so it generated extra code for nothing.

@tsnobip tsnobip merged commit 35024aa into master Nov 12, 2024
4 checks passed
@tsnobip tsnobip deleted the playground-url-autosync branch November 12, 2024 14:52
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