Fix JS browser compatibility on dev
Because the code in `dev-server/static/scripts/util.js` is not transpiled by Babel, it needs to be compatible with all the browsers versions in `browserslist` (`package.json`). Optional chaining `(?.)` is for example not support in Chrome versions < 80. This is only an issue when testing `localhost:3000` on these supported, but older browser versions.
Showing
Please register or sign in to comment