title: In React is it possible to add and remove elements dynamically?
body: <p>I am rebuilding a project (a drag and drop website builder ) in React that used to be built with a lot of jQuery.</p>
  <p>I need to be able to add and remove elements inside one single parent div but all I can find are methods that people say are &quot;anti patterns&quot; in react. Surely there is a way to have a function that can insert some predefined html into a div and have the functionality to remove it from the DOM too.</p>
  <p>Maybe I am not thinking correctly and this needs an entirely different approach. Does anyone know how to do this?</p>
  <p>Would using the react-jquery package allow me to SAFELY add and remove elements from the DOM? or is that a bit janky?</p>