4 ms·
I totally agree with the two issues you listed! I think both of them are well enough addressed with Cycle State, a new state management library. It has an API m
by staltz 8y ago
I totally agree with the two issues you listed! I think both of them are well enough addressed with Cycle State, a new state management library. It has an API makeCollection() specifically meant for dynamic lists, with good DX and great performance. Also I regret imitate(), and gladly using Cycle State I haven't found a single need anymore for imitate().
Not mentioned in the official docs (yet), but Cycle.js has nowadays full support for React DOM and React Native.
- staltz 8y agoSorry, forgot to link: https://github.com/cyclejs/react https://github.com/cyclejs/react https://github.com/cyclejs/react-dom https://github.com/cyclejs/react-dom https://github.com/cyclejs/react-native https://github.com/cyclejs/react-native
- aarpmcgee 8y agoIs there JSX support?
- jakelazaroff 8y agoYup! https://cycle.js.org/getting-started.html#getting-started-coding-consider-jsx https://cycle.js.org/getting-started.html#getting-started-co... If you're just starting out though (or even if you're not) I'd recommend checking out create-cycle-app, the Cycle analogue to create-cycle-app that will set up things like that for you: https://github.com/cyclejs-community/create-cycle-app https://github.com/cyclejs-community/create-cycle-app
- aarpmcgee 8y agoRad! Thanks!
- jakelazaroff 8y agoCycle State looks great! I had checked out onionify, but it didn't have anything like the makeCollection() API at that point. As an aside, thank you for all your work on Cycle! The project I was working on was a visual reactive programming and design tool, inspired by Bret Victor's on direct manipulation and abstraction and by your work on reactive programming and Cycle itself! I remember seeing something like that on the long-term Cycle roadmap as well, but I couldn't find it when writing that comment.