3 ms·
You can use React with Electric if you want, though it is not really necessary because Electric already has fine-grained reactivity and can save you from the us
by koito17 3y ago
You can use React with Electric if you want, though it is not really necessary because Electric already has fine-grained reactivity and can save you from the usual headaches with server-side React. With that said, people have used Reagent in Electric before. In fact, the Electric Clojure tutorial has a tutorial on Reagent interop[1].
[1] https://electric-examples-app.fly.dev/user.demo-reagent-interop!%52eagent%49nterop https://electric-examples-app.fly.dev/user.demo-reagent-inte...
- ano88888 3y agoCompletely new to Clojurescript or electric DSL so this might be a stupid question (will learn more later). As someone who is not a designer, i tend to pick a framework (eg react) that has many good looking design libraries so that i don't need to style each component. I understand that the demo & examples are meant to show the power and functionalities of this good functional langauge. But the examples are unstyled, plain looking, ugly and seem like will take a lot of work to look good. Since i am not a designer, i just want to plug and play a good looking UI library and focus on business logic. hope i am making sense here.
- dustingetz 3y agowe have styled examples including TodoMVC: https://electric-demo.fly.dev/(user.demo-todomvc!TodoMVC) https://electric-demo.fly.dev/(user.demo-todomvc!TodoMVC) -- note it is full-stack unlike other TodoMVC impls which are frontend only we use tailwind in IRL projects
- ano88888 3y agoIt would be great if you have something like this for mobile apps. How will it work if your product has both web and mobile apps, do you have a create a separate backend for the mobile apps?