[STAR-2442] Strip react dependency constraints
This MR removes most of the dependency constraints for react from the repository. As our use of React's APIs is for functions which have been stable for many major versions and the versions our client users are using are varied, we're removing these constraints for now.
In a future MR, these constraints will be either widely tested across a few versions, and/or the React part of providence will be pulled into its own repository.
JIRA tickets: https://tasks.opencraft.com/browse/STAR-2442
Testing instructions:
- Clone this repository
make install_prereqs
cd ..
git clone git@gitlab.com:opencraft/dev/providence-demo.git -b old-version-test
cd providence-demo
npm install
cd ../providence
./force-recompile.sh
This should launch a copy of the providence demo with antiquated versions. It should behave the same as it does at https://providence-demo.opencraft.com/
Note that if it does not work immediately, you may need to change a single file in the providence src directory in order to force a recompile while ./force-recompile.sh is running.