Skip to content

Conversation

trueadm
Copy link
Collaborator

@trueadm trueadm commented Oct 15, 2024

I converted over two tutorial articles to their snippet based equivalent and updated the examples and copy.

Copy link

vercel bot commented Oct 15, 2024

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

Name Status Preview Comments Updated (UTC)
omnisite ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 15, 2024 5:14pm

@Rich-Harris
Copy link
Member

I think we're going to need to change how this stuff is taught, because right now it's kinda confusing — the exercise is called 'snippets' but we don't learn what a 'snippet' is until later. We need to begin with the basic concept of snippets and render tags, and work our way up to component composition — we can't just translate the existing content directly. Going to look into this later

@trueadm
Copy link
Collaborator Author

trueadm commented Oct 16, 2024

That's a good point. I can take a stab tomorrow on writing up some new tutorials first introducing {#snippet} and then diving into how they're now props and how default snippets and named snippets work based off some of the material I've changed in this PR. If you'd rather do that though, let me know.

@trueadm trueadm closed this Oct 17, 2024
@Conduitry Conduitry deleted the tutorial-snippets branch October 23, 2024 01:31
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