2 ms·
I think react is very flexible. I wonder if people sometimes mixes react with react "best practices" and get confused? React is close to functional and works v
by jbergens 9y ago
I think react is very flexible. I wonder if people sometimes mixes react with react "best practices" and get confused?
React is close to functional and works very well with those ideas. It also allows you to create components from classes with internal state and use that idea. You can have all state internally or connect some external state library if you prefer that, etc. Jsx is something some people seems to find strange but you don't have to use that either. Almost all react projects do but you don't have to. It used to work with ES5 and ES6 (ES2015) but now the latter is used so much in the industry that it's the only thing they support. You still don't have to put components in separate modules if you don't want to.
So, for anyone reading this and still being confused by react, please step back and think about what you need to know and understand right now which may be much less than everything there is to know about react and if you find some part that you don't like you may be able to avoid it.
- Marazan 9y agoThat's an interesting point that I think might hew close to the truth. I'm amazed at the amount of complexity that people seem try and heap on top of React. It's like they have seen the core simplicity and are desperate to complexity it to make it feel like they are dealing with something weighty and significant. Simple things can be brilliant, React is a simple thing. A simple idea with a simple to use implementation. It's clever. It's good. There is no need to make it complex.