4 ms·
I explored using TSX in a non-React way and have been quite proud of my results [0]. I mostly understand hooks and I get why they went that direction, but I swa
by WorldMaker 2y ago
I explored using TSX in a non-React way and have been quite proud of my results [0]. I mostly understand hooks and I get why they went that direction, but I swapped hooks for RxJS Observables in my library. I know for some developers they are just as hard to "understand" as hooks, but no one has ever accused Observables of being "magic", at least. Observables end up looking like hooks in basic component examples, but then you can pull them out and reason with them very easily in "view models". In some ways my library feels more like the early days of React when React was just a library, but with some modern benefits.
[0] https://worldmaker.net/butterfloat/ https://worldmaker.net/butterfloat/
- jysh 2y agoThat's a great library! Looking forward to use it in some personal project. In a React-based project, I managed to use RxJS through react-rxjs[0] to manage events and state. Thanks to it, I was able to fully streamline state management in that project. [0] https://react-rxjs.org/ https://react-rxjs.org/
- recursive 2y agoThis sounds very similar to the development of my project. Basically every word of that could apply to https://mutraction.dev/ https://mutraction.dev/
- wetpaws 2y ago[dead]
- mark38848 2y agoObservables aren't magic. They're just shit.