ict.ken.be

 

Reactjs

Related Posts

Categories: Reactjs

Just some basic react cheatsheet

  • import React from "react"
  • use an expression to put comments
{/* you can use this to commend inside your jsx */}
  • useĀ a fragment if you want to quickly include an exiting html structure with more then one element at the root
<>
<h1>Some header<h1>
<h2>Some subheader<h2>
</>