SIGN IN SIGN UP

DevTools: Add Bridge protocol version backend/frontend (#21331)

Add an explicit Bridge protocol version to the frontend and backend components as well as a check during initialization to ensure that both are compatible. If not, the frontend will display either upgrade or downgrade instructions.

Note that only the `react-devtools-core` (React Native) and `react-devtools-inline` (Code Sandbox) packages implement this check. Browser extensions inject their own backend and so the check is unnecessary. (Arguably the `react-devtools-inline` check is also unlikely to be necessary _but_ has been added as an extra guard for use cases such as Replay.io.)
B
Brian Vaughn committed
8e2bb3e89c8c3c8b64b3aa94e0bb524775ef4522
Parent: 22ab39b
Committed by GitHub <noreply@github.com> on 4/27/2021, 9:26:07 PM