4 ms·
It’s actually fine and great and decently performant for making web apps. Declarative code is much nicer than mutating the DOM, components are a great way to re
by antihero 4y ago
It’s actually fine and great and decently performant for making web apps. Declarative code is much nicer than mutating the DOM, components are a great way to reuse code compositionally, hooks are nice building blocks for reusable logic within them. The JS world is indeed mad but that doesn’t mean React isn’t a highly pragmatic way of building GUI applications.
Just because style, logic, and result are logically grouped it doesn’t mean you’re losing “separation of concerns”. If in fact your definition of that is so shallow it amounts to simply having things in different files, you can do that anyway. It’s an organisational choice.