Tech Lead/Team Lead. Senior WebDev.
Intermediate Grade on Computer Systems-
High Grade on Web Application Development-
MBA (+Marketing+HHRR).
Studied a bit of law, economics and design
Location
Spain
Education
Higher Level Education Certificate on Web Application Development
That's it!
It was really hard on my last projects to make junior devs to understand that, because if you only learnt react that's what you'll find in the doc about managed/controlled forms so React is the only "source of truth".
That's useful on multi-step forms but I still can't find a way in which this is better than using the DOM itself through HTML.
Moreover you can set validations as well in the HTML using the pattern attribute and use :valid and :invalid CSS selectors to style them depending on the state they're in (I thought I made a post on that stuff but I just realized I didn't so maybe I should cover all that stuff in a single place π).
Tech Lead/Team Lead. Senior WebDev.
Intermediate Grade on Computer Systems-
High Grade on Web Application Development-
MBA (+Marketing+HHRR).
Studied a bit of law, economics and design
Location
Spain
Education
Higher Level Education Certificate on Web Application Development
Tech Lead/Team Lead. Senior WebDev.
Intermediate Grade on Computer Systems-
High Grade on Web Application Development-
MBA (+Marketing+HHRR).
Studied a bit of law, economics and design
Location
Spain
Education
Higher Level Education Certificate on Web Application Development
Thanks for bringing this up! Just because youβre using JavaScript to render the elements doesnβt mean you shouldnβt also render markup that does its own work tooβ¦ use the tools for what theyβre made for!
Tech Lead/Team Lead. Senior WebDev.
Intermediate Grade on Computer Systems-
High Grade on Web Application Development-
MBA (+Marketing+HHRR).
Studied a bit of law, economics and design
Location
Spain
Education
Higher Level Education Certificate on Web Application Development
Yes but just because some years ago people learnt HTML to the detail, then CSS, then JS browser API and then frameworks/libs.
I'm finding lately a good amount of juniors that don't know what is the real scope of React... I've even told by one that map is a React method π so my guess is that the issue is the learning path itself...
This is a legit issue, and new frameworks like svelte for example, make you learn more of "svelte" and not more of "javascript". Svelte is cool & I love it, but I think one should know fundamentals of Vanilla JS before dipping toes in libraries/frameworks
Tech Lead/Team Lead. Senior WebDev.
Intermediate Grade on Computer Systems-
High Grade on Web Application Development-
MBA (+Marketing+HHRR).
Studied a bit of law, economics and design
Location
Spain
Education
Higher Level Education Certificate on Web Application Development
That's it!
It was really hard on my last projects to make junior devs to understand that, because if you only learnt react that's what you'll find in the doc about managed/controlled forms so React is the only "source of truth".
That's useful on multi-step forms but I still can't find a way in which this is better than using the DOM itself through HTML.
Moreover you can set validations as well in the HTML using the pattern attribute and use
:valid
and:invalid
CSS selectors to style them depending on the state they're in (I thought I made a post on that stuff but I just realized I didn't so maybe I should cover all that stuff in a single place π).Please do write a post and share all the knowledge you have.
Hi @anubha143 I finally bring this up, check it out! π
Form input validation WITHOUT JavaScript
JoelBonetR γ» Aug 15 γ» 2 min read
I do it from time to time, check my profile!
Also follow to receive new posts in your feed π
Thanks for bringing this up! Just because youβre using JavaScript to render the elements doesnβt mean you shouldnβt also render markup that does its own work tooβ¦ use the tools for what theyβre made for!
Yeah, that appears quite a large bite for a junior dev to gulp π
Thanks for the comment btw β¨
Yes but just because some years ago people learnt HTML to the detail, then CSS, then JS browser API and then frameworks/libs.
I'm finding lately a good amount of juniors that don't know what is the real scope of React... I've even told by one that
map
is a React method π so my guess is that the issue is the learning path itself...This is a legit issue, and new frameworks like svelte for example, make you learn more of "svelte" and not more of "javascript". Svelte is cool & I love it, but I think one should know fundamentals of Vanilla JS before dipping toes in libraries/frameworks
Totally agree!