[React.js] What is this <></> in React.js?

Hey guys, I’m currently learning React.js and I have seen these angle brackets a lot on many tutorials. and it seems it works like a div. Can you guys explain

  1. what it is
  2. when to use

Its this:


wow thats great, occasionally annoyed me you often end up adding countless containing elements to the dom and then its hard to target what you need in the CSS without creating countless id’s

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.