Command Driven Map
I have found an approach that works well when building web-based map applications in React.js. I've found in the past that map components can get very complicated very quickly, making the map control hard to maintain and hard to add new features to.