Templates Solts in React Building the website I wanted to use templates and slots the same way I used to do with vuejs , and guess what we use jsx in reactjs I can pass pieces of code as props directly to the wrapper .