-
Notifications
You must be signed in to change notification settings - Fork 77
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
Multiple components #72
Conversation
I was playing around with this a little, using the referenced PR against Svelte. I noticed that once I switched examples with the dropdown, any changes to the input were not reflected in the output code or the output HTML. Switching back and forth between input and output showed me the original input again, upon which edits to the input correctly updated the output code and HTML. With the multi-component example, I'm able to get the nested component input to magically replace the containing component input - although I'm not sure what consistent steps to get this to happen are. One other thing - are there some files in |
Thanks — yes, those files need to be ignored. I experienced the same weirdness with bindings until I trashed my node_modules folder and reinstalled everything, it seems to be fixed now... |
This is almost done but not quite — need to style up the example selector, and do a bunch more testing. I'd also like to organise the examples a bit — there need to be a lot more examples, so we could group them (e.g. have categories for basic use, dataviz,
<:Window>
, nested components, events, what-have-you).Also, this depends on sveltejs/svelte#432 — will blitz through all the outstanding PRs tomorrow.