Creating objects and passing them as props directly in the render function is a bad practice.
For example, this
will rerender <Circle> component on each render.
OK, it should be
// Circle renders if center or radius changes
Thanks for pointing out
We're a place where coders share, stay up-to-date and grow their careers.
We strive for transparency and don't collect excess data.