Summary: Refactors the plugin architecture of Sonar: - Before plugin rendering had it's own implementation of the react lifecycle. This means the `render`-function was not called by react, but rather by the application it self. In this diff, the render method is now called from react, which enables better debugging and allows react to do optimizations. - Business logic for querying emulators is moved away from the view components into its own dispatcher - All plugin handling is moved from `App.js` to `PluginContainer`. - The sidebar only shows one selected device. This allows us to add the screenshot feature as part of the Sonar main app and not a plugin. - This also fixes the inconsistency between the devices button and the sidebar Reviewed By: jknoxville Differential Revision: D8186933 fbshipit-source-id: 46404443025bcf18d6eeba0679e098d5440822d5
24 lines
387 B
Plaintext
24 lines
387 B
Plaintext
[ignore]
|
|
.*/scripts/.*
|
|
.*/coverage/.*
|
|
.*/node_modules/.*
|
|
.*/build/.*
|
|
.*/dist/.*
|
|
.*/static/.*
|
|
<PROJECT_ROOT>/src/fb/plugins/relaydevtools/relay-devtools/DevtoolsUI.js$
|
|
.*/website/.*
|
|
|
|
[libs]
|
|
flow-typed
|
|
|
|
[options]
|
|
esproposal.export_star_as=enable
|
|
module.use_strict=true
|
|
emoji=true
|
|
all=true
|
|
include_warnings=true
|
|
module.name_mapper='sonar' -> '<PROJECT_ROOT>/src/index.js'
|
|
|
|
[version]
|
|
0.69.0
|