Replies: 2 comments 5 replies
-
That sounds fantastic! I think a tutorial would be incredibly helpful. I would be very happy to check your implementation so we make sure it's perfect 👍. I think we should have a new Tutorials page in the sidebar, and we could also link to that tutorial from the sync/crud pages. |
Beta Was this translation helpful? Give feedback.
5 replies
-
@jmeistrich How can we call async function like this? When I call it, $auth.auth.set(..), somehow fetch is never triggered
|
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey @jmeistrich 👋
I believe that apart from speed, what really sets Legend State apart is its ability to sync. While the documentation mentions CRUD sync, I think a tutorial would be beneficial to make it easier for new users.
What I'd like to propose is a tutorial similar to the one for Remix (https://remix.run/docs/en/main/start/tutorial) - perhaps a bit less detailed - where a CRUD sync app is built.
My idea is to create a fairly simple application where users can view posts, read comments on each post, and create new posts. All powered by Legend State CRUD sync, of course.
I'd use tRPC for type safety. We could even implement real-time functionality through tRPC's SSE or WebSockets capability. For the backend, I'd either use NextJS or an Express / Fastify web server.
What do you think? Would such a tutorial be beneficial? And since I'm fairly new to Legend State myself, would you have time to check my CRUD sync implementation of the tutorial? 😅 Also, under which section would this tutorial go on the website? Under CRUD sync or a new tutorial category?
Beta Was this translation helpful? Give feedback.
All reactions