by lilo86 · 9y ago · 0 comments
npm install -g create-react-app
create-react-app my-app
cd my-app/
npm start
type unknown.variable in various files and see how they handle it - there should be a (compile time) stack trace that points you exactly to the right file and line.That alone changes everything about JS.
(True; staticly typed isnt the same as not declared, but still, i think you get my point.)
compare to something like https://github.com/yoshuawuyts/choo which is actually tiny and simple
React is not an ecosystem. React is a library with an extremely simple API. Everyone acts like one must use a flux implementation, a complicated router and everything when you use React. It can't be farther from the truth. Out of the box, React also provides, more or less, whatever cell provides.