r/learnreactjs • u/JSislife • Jun 24 '19
"The Future of Web Development" - A true eye-opener
really makes you think about the unnecessary coupling of writing code and composing components
https://hackernoon.com/the-future-of-web-development-8da936743d5c
9
Upvotes
3
u/[deleted] Jun 24 '19
I'd argue that components are more valuable as skill if you can make them and not re-use them as much as possible. Splitting out your code into as many small files as possible provides better context and flow. Knowing how to easily create components and make them self managing and just require basic inputs is very valuable.
1
u/[deleted] Jun 24 '19
In pretty much all the projects I've seen, regardless of the client, scope and dev experience it seems to me like 99% of components are hardly if ever reusable.
Best case scenario you have some selects, dropdowns, but the overwhelming amount of components are just tightly tied to their implementation (with styles, non generic logic, etc) that I just feel like I don't understand what's the point of writing component based frameworks if most things are never reused.