Help needed! I'm writing a blog post comparing nine frameworks
Last month I wrote a blog post "React Won by Default", and I am now writing a follow up post.
In the new post, I've built a kanban app in nine frameworks for comparison purposes. One of the apps is built with SolidStart. I did the best I could, but I'm not an experienced Solid dev. I'm hoping someone will be willing to review my SolidStart code to make sure I'm using Solid conventions and optimizations correctly.
One of my goals is small bundles, so if anyone can improve the app on that metric that would be great.
If there are any takers, I can invite you to the repo. Thanks y'all!!
Loren
8 Replies
I can't help with the building it (and I believe a lot of those officially involved in the project are quite busy atm) but we have an example repo that might be worth checking out to help you out - https://github.com/solidjs-community/strello
GitHub
GitHub - solidjs-community/strello
Contribute to solidjs-community/strello development by creating an account on GitHub.
thank you @Sarah (LadyBluenotes) this is very helpful! I appreciate it!
I can have a look at it next week
Thanks @Madaxen86 ! here in the link: https://github.com/lorenseanstewart/kanban-comparison/tree/development/kanban-solidstart
GitHub
kanban-comparison/kanban-solidstart at development · lorenseanstew...
Comparing front end fullstack frameworks. Contribute to lorenseanstewart/kanban-comparison development by creating an account on GitHub.
general question: do you want to consequetially implement optimistic updates?
At the moment I see that there's mixed behavior.
Without optimistic updates, the app could be simplified to not use any stores to manage the data locally but just use the
query -> action -> revalidate cycle and leverage solid-start's single-flight-mutations.Good question. I think I have most of the other apps using optimistic updates for the drag and drop feature, but it is not really needed otherwise. The rest can be simplified as you suggested.
I've sent this PR https://github.com/lorenseanstewart/kanban-comparison/pull/4 with updates accordingly.
GitHub
solid: optimize for single-flight-mutations by madaxen86 · Pull Re...
remove optimistic ui - rely on revalidation with single-flight-mutations
replace revalidate helper in actions with json helper and set revalidation header to correctly revalidate the query cache
re...
This is great. Thank you so much for your time and effort!