2 ms·
A chat app is one of those relatively few cases where React makes some sense. But, React is easy and intuitive to use for the use case that makes the least sen
by timw4mail 2y ago
A chat app is one of those relatively few cases where React makes some sense.
But, React is easy and intuitive to use for the use case that makes the least sense. Once you get to complex state, I'd argue that React doesn't help much. There are a lot of different tools and ways to manage state, but the way React takes over rendering often leads to weird and confusing bugs, as the 'declarative' syntax is a *very* leaky abstraction.
- hot_gril 2y agoWeb apps with dynamic behavior are pretty common. I've written some of those, but I also found React easier just for mostly-static webpages that need somewhat flexible layout. You can do most of that with CSS instead, but it tends to involve super specific knowledge and hacks. Vs having a convenient, generalized way to change the DOM at will.