DEV Community

Discussion on: Stop Using React

 
matthewpardini profile image
Info Comment hidden by post author - thread only visible in this permalink

For gods sake, if you write it like that, you would never be hired as a react developer in the first place.

React has no attribute based syntax with the exception of modified attribute names like className and onClick. I guess there’s key as well, but looping is never done in the attributes. It’s done like it would be done everywhere else in javascript, in a for loop, functional iteration, or using while. This enables backend js and front js to look similar.

It’s lovely

Some comments have been hidden by the post's author - find out more