3 ms·
No, when I say "I'd rather write code to solve all my problems" I'm talking about React. In React, things happen because you call a function, not because you na
by kerkeslager 10y ago
No, when I say "I'd rather write code to solve all my problems" I'm talking about React. In React, things happen because you call a function, not because you named something the name that makes them get called, with only a handful of exceptions. You want to change the state, you call `setState`, you want to render the component you call `renderComponent`. It all looks surprisingly like writing code with a very helpful library.