Files
flipper/desktop/flipper-server-companion
Andrey Goncharov 1f2f799772 Setup globals and initialize flipper-server-companion
Summary:
We want Flipper plugins to share imports with Flipper:
- They must share the same React otherwise different Reacts could conflict with each other
- Other common modules are shared to decrease the bundle size for each plugin.

`setGlobalObject` provides shared modules to Flipper Plugins by adding them to the global context (window or process or global this).

In the headless context, we do not have React and other DOM-related libraries, so we provide stubs instead.

Reviewed By: passy

Differential Revision: D36130161

fbshipit-source-id: d30c59a6c3ae02e7f9244bc0bb5790079b771107
2022-05-10 05:13:24 -07:00
..
2022-05-10 05:13:24 -07:00
2022-05-10 05:13:24 -07:00
2022-05-10 05:13:24 -07:00

flipper-server-companion (TBD)

Flipper Server Companion runs Flipper plugins in Flipper Server context.