News for hackers. Stuff that matters.
Re:Substituting JavaScript with HTML by stevebmark on Saturday October 14, 2017 @07:02PM (#15474801)
What? This is terrible. This introduces an "API":

    <form class="dv-add-oneto:profiles:details">
Which is handled by...Javascript! And now you have a nasty mini string language API, like Angular.

We have portable, functional components. It's called React. Embedding view logic in class names is the wrong way.

These home grown solutions are what we used to do as front end developers before React. Now we write portable component code.

There are no comments on this comment yet.