News for hackers. Stuff that matters.
Re:Things I wish I knew before moving 50K lines of code to R... by pier25 on Friday September 01, 2023 @11:27AM (#37352047)
It's not React's fault but the ignorance of the average React dev never stops surprising me. From using divs for buttons or links to this.
Re:Things I wish I knew before moving 50K lines of code to R... by mock-possum on Friday September 01, 2023 @02:33PM (#37354563)
Yeah modern JavaScript frameworks heavily discourage semantic markup, and I’m salty about it.
Re:Things I wish I knew before moving 50K lines of code to R... by FractalHQ on Saturday September 02, 2023 @05:11PM (#37365559)
Svelte must be an exception to that rule because semantic html is a first-class citizen.
Re:Things I wish I knew before moving 50K lines of code to R... by botverse on Friday September 01, 2023 @03:38PM (#37355300)
react-native-web
Re:Things I wish I knew before moving 50K lines of code to R... by bakuninsbart on Saturday September 02, 2023 @07:45AM (#37360610)
I think a big part of the problem is how online education and bootcamps/college degrees for web-dev are structured. Often times people are so overwhelmed with the stack they are supposed to learn that quite obvious and important stuff gets lost. People just try things out until it works without understanding the underlying structure. If you come from a simpler MVC framework like Rails or Laravel, it enables you to focus on the really important stuff first, and explore from there. It is also much more rewarding to see some solid results early.
Re:Things I wish I knew before moving 50K lines of code to R... by pier25 on Saturday September 02, 2023 @09:44PM (#37367008)
Yeah the issue is that beginners are not learning web dev or even front end, they are learning React.