Part of the issue with react and react-dom appears to be related to state on esm.sh servers. When updating to v59 of esm.sh, the react types version changed allowing me to get rid of the local copies of react and react-dom from the deps directory. react-dom-router is still broken though so I had to keep my local copy of it that uses a different minor revision of the history module (5.2.0 is broken, 5.1.0 works).
Part of the issue with react and react-dom appears to be related to state on esm.sh servers. When updating to v59 of esm.sh, the react types version changed allowing me to get rid of the local copies of react and react-dom from the deps directory. react-dom-router is still broken though so I had to keep my local copy of it that uses a different minor revision of the history module (5.2.0 is broken, 5.1.0 works).