4 ms·
React is great. But the tooling around it tends to complicate things a lot. Just for example react-redux (not just redux). When I first started with React, it
by anupshinde 10y ago
React is great. But the tooling around it tends to complicate things a lot. Just for example react-redux (not just redux).
When I first started with React, it felt awesome - just React still feels great. But I had just started then and then got introduced to redux (I had been using something similar custom built). That was good too, until I learnt react-redux. I get the concepts, I understand every bit of it and have used it correctly in many large apps - it is useful. But react-redux just feels awkward many times and I consistently feel something is wrong with it - but I don't know what. React-Redux just feels disconnected with the idea of independent web-components.
On a side note - If one is okay moving to Typescript, Angular2 is just amazing.
- Silhouette 10y agoI find the Redux ecosystem to be one of those areas that sounds great in theory, but that in practice has quite a narrow range where it's a good fit. If the web app's data model is simple enough, it can easily keep track of mutable state directly and just rerender everything on any relevant change with acceptable performance. If the model is complicated enough, the simple data stores provided by Redux and the like lack power and flexibility until you build a lot of other architecture around them, at which point you might well be better off building something catering to your project's exact needs anyway. I can see that there might be a happy zone somewhere in between, where building with tools like Redux and its surrounding ecosystem does pay off, but I've yet to work on such a project myself.
- jiyinyiyong 10y agoWould you like to try Respo https://github.com/respo-mvc/respo/wiki/Quick-Start https://github.com/respo-mvc/respo/wiki/Quick-Start if you hold similar options with me? I built Respo because I think React is not functional enough.