You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think this is one strategy to optimise app speed by fetching ahead. I think we could also cover basic shape patterns like:
fetching one shape as an index and then syncing one or more shapes using the content of it (e.g.: get all project IDs for user, then sync projects)
changing a shape -- how this works, how this works with a raw shape/shapestream and with useShape
cleanup on component unmount
I also think we should demonstrate what you can sync into. The tutorial is a perfect flow for syncing first into memory, then binding to a component, then syncing into a DB and binding using a liveQuery.
thruflo
changed the title
Write a basic getting started tutorial for an Electric web app
Write a walkthrough tutorial for an Electric web app
Feb 25, 2025
This should be half-way between the existing quickstart (which is the "basic getting started", hence edited title) and the more detailed guides. So walkthrough the steps of more realistic e2e app development with Electric but also links out to guides for the full details.
Generally for a tutorial you want to keep it as simple as possible with just the narrowest possible pathway connecting the key areas. They're for beginners who know absolutely nothing about what we're doing so we want to avoid presenting options or complexity beyond the minimum needed to get something basic working. Every branch in the explanation loses a lot of people.
Guides are a better place for detailed looks at complex patterns or comparing tradeoffs of syncing into memory vs. db. etc.
It should cover
The text was updated successfully, but these errors were encountered: