3 ms·
React is very flexible and tries to avoid strong opinions, so the result is React devs have built up lots of their own opinions over the years. React code bases
by city41 5y ago
React is very flexible and tries to avoid strong opinions, so the result is React devs have built up lots of their own opinions over the years. React code bases are almost always wildly different from each other, a blessing and a curse.
I personally wasn't a fan of any advice in this article. But again, it's all just opinion and personal experience. I didn't feel anything covered fell in the area of best practices.
- mattmanser 5y agoI've already commented on the GP, but that's not a good thing in my experience in the long run. Techs that quickly end up with a general "best practice" code style are a lot easier to work with, and a lot, lot, lot, lot easier to maintain.
- zdragnar 5y agoClojure and co are a similar vein of favoring small, focused practices and libraries over one-size-fits-all frameworks. YMMV, but having been on both sides of this equation at companies large and small, I find the library (I.e. react) approach favorable over the framework (I.e. angular or ember) approach.
- mattmanser 5y agoThat's got nothing to do with my comment though. At all, like whoosh, you've completely missed the point of it. My point was that it doesn't matter if it's a framework, library, language, configuration, or whatever. If the design of that thing means that the community coalesces around a particular style of usage, it's much better for everyone in the long run.
- slver 5y agoCase in point I literally only use JSX and ReactDOM.render(). Some would call this a blasphemy. Works great.