3 ms·
Yeah 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 platf
by v0idzer0 4y ago
Yeah 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 4y agoReact very much feels like its own platform to me - having its own browser tools to debug it is a dead giveaway.
- v0idzer0 4y 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 4y 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 4y ago> "...and used to devtools just a handful of times." How do you debug?
- frosted-flakes 4y 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 4y 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 4y 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.