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

Create new playground app #263

Open
ayoayco opened this issue Feb 16, 2023 · 8 comments · May be fixed by #271
Open

Create new playground app #263

ayoayco opened this issue Feb 16, 2023 · 8 comments · May be fixed by #271
Assignees

Comments

@ayoayco
Copy link
Member

ayoayco commented Feb 16, 2023

In addition to our landing page and docs sites, we can now create a playground using https://webcontainers.io

@Preet-Sojitra
Copy link
Member

Correct me if I am wrong. This webcontainers are used to create interactive code editors on web where user can play around and get to learn more?

@ayoayco
Copy link
Member Author

ayoayco commented Mar 4, 2023

Yeah exactly. I think we can find a lot of examples in other more mature libraries

@Preet-Sojitra
Copy link
Member

On website they have put example of sveltekit. Sveltkit has implemented playground on their website. You can check it out.

@fazzaamiarso
Copy link
Member

This is exciting!

@ayoayco So with this, will we migrate our demo to playground? Like Qwik and Svelte?

I'm interested to try out webcontainer.

@ayoayco
Copy link
Member Author

ayoayco commented Mar 17, 2023

Yes exactly @fazzaamiarso ... let me know what you find out. I'm not sure if it needs a StackBlitz account and how well it works on an Astro app? :D We may need to build this with another framework if not

@fazzaamiarso
Copy link
Member

@ayoayco I think it's quite difficult to do it with Astro because webcontainer mostly works on the client side. We can use framework like React (most familiar with me) or any other like svelte, solid.

But I found this playground with Solid, which is pretty solid 🤣. I always wanted to try Solid though. If I'm not mistaken, the hyperdrive package will use solid too, right?

what do you think?

@fazzaamiarso fazzaamiarso self-assigned this Mar 19, 2023
@fazzaamiarso
Copy link
Member

fazzaamiarso commented Mar 19, 2023

I've build a minimal playground with vanilla-ts + vite. Tried using our library and it worked. Although, we definitely need a framework for our DX.

Maybe svelte or react?

@ayoayco
Copy link
Member Author

ayoayco commented Mar 19, 2023

@fazzaamiarso I'm more excited to try svelte than react to be honest. :) I'm fine if you want to PR what you have now so we can iterate on improving it. But if you're also interested to add a framework I vote for svelte because I'm curious about it as well. Might be a nice new project.

enhance.dev is also interesting :)

@fazzaamiarso fazzaamiarso linked a pull request Mar 22, 2023 that will close this issue
4 tasks
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 a pull request may close this issue.

3 participants