How to Draw Shapes in React

An Introduction to React Konva

If you want to draw shapes on a web page, normally the solution is pretty simple: Just use HTML Canvas. It’s a built-in functionality with plenty of documentation and tutorials — basically everything you could ask for.

Unfortunately, it doesn’t play well with React.