DEV Community

Discussion on: Really, why React?

Collapse
alekseiberezkin profile image
Aleksei Berezkin • Edited on

Most of a post is like “I've seen a lot of crappy React code and that's why React is bad” 😂 Are you sure there's no bad code on Svelte or vanilla?

Collapse
jfbrennan profile image
Jordan Brennan Author

Yes, I have seen a lot of crappy React code and the React team says the same about their own internal experience with React. If the React team is saying the same things as this article (I'm literally quoting them), then maybe there's more truth here than some React folks want to acknowledge?

Yes, any code can become bad code. That fact doesn't change any of these issues with React.

Collapse
alekseiberezkin profile image
Aleksei Berezkin • Edited on

The way you quote is not fair 😉 That's known as “taking out of context”. The trick can be applied to any proposal or motivation. Let's take for example Rationale from PEP 3109:

One of Python's guiding maxims is "there should be one -- and preferably only one -- obvious way to do it". Python 2.x's raise statement violates this principle [...]

Whoa! Python violates its own principles! Let's write a huge post about it:

Why Python May Be Your Greatest Mistake

Python is so bad, it's dynamically-typed and whitespace-bound, and furthermore even the Python maintainers agree it's inconsistent and violates its own principles!

Thousands of views and dozens of reactions guaranteed 😉

Thread Thread
peerreynders profile image
peerreynders

Already been done before ... many times.

Example: Reconsider Learning Python First (2018)

Thread Thread
jfbrennan profile image
Jordan Brennan Author

the React quotes are taken from the docs, they are relevant, and they are not used out of context.