2 ms·
That'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 tha
by timr 11y ago
That'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 11y 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.