3 ms·
If you're going to tell me I don't need to use a library, it has to be way more convincing than, "Look how easy data binding it with native APIs! And it's not s
by thatswrong0 10y ago
If you're going to tell me I don't need to use a library, it has to be way more convincing than, "Look how easy data binding it with native APIs! And it's not slow!" This is a weak argument in my opinion, and does nothing to address how removing abstractions will make my life easier.
- timr 10y agoThat's a perfectly fair counterargument to the content of the piece, but the comment to which I replied had no such content. The post didn't miss the point that "being able to just write the code once to render a UI from some state...is an incredible simplification of your code." It argued that you can do that without using React.
- statictype 10y agoIt argued that you can do that without using React. I actually didn't see that argument being made - two way data bindings are not the same thing. To achieve React's simplicity you either need to a) Simply tear down the entire DOM and rebuild it - works for small UIs and I've actually used this myself before react existed b) Implement something similar to the Virtual DOM that react has for any non-trivial UI that is too slow to rebuild on every user interaction.