3 ms·
I know exactly where you are coming from, so let me save you the hassle npm install -g create-react-app create-react-app my-app cd my-app/ npm start t
by lilo86 9y ago
I know exactly where you are coming from, so let me save you the hassle
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.
- Blahah 9y agoreact is literally the opposite of what the parent described. It's a huge convoluted ecosystem that requires many new tools to use effectively and almost everything in the stack is complex to learn. compare to something like https://github.com/yoshuawuyts/choo https://github.com/yoshuawuyts/choo which is actually tiny and simple
- egeozcan 9y ago> react is literally the opposite of what the parent described. It's a huge convoluted ecosystem (...) 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.
- boomlinde 9y agoAn entire DSL to describe the DOM is not a simple API. React is nice, but its API is at best easy as opposed to hard, not simple as opposed to complex.
- brimstedt 9y agoI agree this is great, but the fun part is that the dynamic language advocates first claims dynamic languages is the shit, then they build the tools to mimic staticly typed languages ;) (True; staticly typed isnt the same as not declared, but still, i think you get my point.)
- jauco 9y agoActually, typescript was built by a quite famous static typing advocate.