4 ms·
The author makes some fair points but I also think part of it is learning. It sounds like they had finished learning React and the ecosystem and all that was le
by lozenge 5y ago
The author makes some fair points but I also think part of it is learning. It sounds like they had finished learning React and the ecosystem and all that was left was finding React bugs, and occasionally identifying ways to work around React's way of doing things. While they are still at a stage of learning Web APIs which means exciting discoveries.
- v0idzer0 5y agoYeah agreed. The arc of learning seems to be… This is interesting -> this is the best thing in the world -> here’s how this could be better The “use the platform” people have been making this case for web components for at least 5 years now. The reality is WC will take off when and if they are a better alternative and even then they’ll need to be paired with some sort of framework. They may even make their way into React one day. The only thing that bugs me about these takes is React is using the platform. It works great in all major browsers, it’s not some extension like Flash. It’s the platform.
- LAC-Tech 5y agoReact very much feels like its own platform to me - having its own browser tools to debug it is a dead giveaway.
- v0idzer0 5y agoI think it feels that way because it’s a bit of a paradigm shift in terms of the way we think about building user interfaces, but the reality is its just javascript running in a browser. I’ve been writing react over 10 years and used to devtools just a handful of times. They’re by no means necessary. I used to use an extension for jQuery to quickly find css selectors. Nobody was saying we weren’t using the platform then. It’s just a strange form of posturing from web component enthusiasts who are frustrated they aren’t taking off. And these enthusiasts are 99% Google employees who work on web components.
- LAC-Tech 5y agoYes react is an odd one to me. I prefer to program in a somewhat functional matter - separating pure code from things that mutate state, or render things to the screen. React pushes me away from that, instead encouraging me to mix state, rendering and templates all in the same part of the code, though they do provide a functional facade.
- MonaroVXR 5y ago> "...and used to devtools just a handful of times." How do you debug?
- frosted-flakes 5y agoReact dev tools, specifically. Of course I (and GP, assumedly) uses the browser dev tools. I don't find the React dev tools very useful.
- mst 5y agoThen react + mobx also requires you to use mobx's browser tools to debug it. Note: I say this as somebody who really rather loves react+mobx - but you're not wrong about the trade-off.
- qudat 5y agoEven on large web apps I almost never reach for the react or redux specific dev tools. Just the normal debugger is more than sufficient.