DEV Community

Discussion on: Don't be one of these React Devs🙄

Collapse
 
jasonbunting profile image
Jason Bunting

"KEEP THE MAGIC TO MINUMUM" - are we straining at a gnat but swallowing a camel? I mean, even just using React itself means you're already down the "magic" path quite a ways. When it comes to working in a browser, anything other than basic HTML, CSS and JavaScript is "magic." The lines of demarcation between CSS, HTML and JavaScript are maintained quite a bit more in libraries like jQuery than they are in something like React. I'm not here to hate on React, even though it makes my eyes bleed, I will hate on the idea that there's some proper quantity of magic. If you're going to have a religion, live it? If you're going to use something as black-box as React, you might as well "full send" that shit. ;) Correct me if I'm wrong: at the software level, isn't anything other than ones and zeros an abstraction (read: magic)?

Collapse
 
okrohan profile image
Rohan Salunke

This is the most interesting comment so far! I do agree that there is gonna be some sort of magic in the code, no matter what you work on. But in my opinion and as per my experience building enterprise applications, not quantifying the magic in your code usually blows up. I remember back when we simply imported 'lodash.js' as whole, we considered it as a utility library, but relatively it was HUGE🤯. In a nutshell, all I meant was a: At least a shallow understanding about the magic that your'e supposed to use always helps!

Some comments have been hidden by the post's author - find out more