News for hackers. Stuff that matters.
Re:React is becoming a black box by rapind on Thursday September 03, 2020 @12:59PM (#24366070)
Yes, probably. I started using haml (then slim) a very long time ago and the hyperscript / elm type syntax is fairly intuitive to me.
Re:React is becoming a black box by engineeringwoke on Thursday September 03, 2020 @02:59PM (#24367467)
What is the point of templating HTML? I really don't understand it. Just write HTML or HTML-like APIs like JSX. Is there some theoretical reason why this is wrong?
Re:React is becoming a black box by rapind on Thursday September 03, 2020 @11:22PM (#24371414)
Subjective I guess. For me it’s just a reduction in noise and I prefer to read code with significant white space. Perfectly ok writing HTML, but given the option, and if it doesn’t screw with others, I prefer not too.
Re:React is becoming a black box by jschrf on Friday September 04, 2020 @04:16PM (#24378484)
JSX is HTML templating