Implemented this with a stateful array of objects. that gets updated and a render method gets called