You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Main.js (sample plugin: bundled code) - this is the code received from /backend/api/plugins/${name}/ui"use strict";Object.defineProperty(exports,"__esModule",{value: true});varHomeComponent=functionHomeComponent(){returnReact.createElement(View,null,React.createElement(Text,null," Remote Component "));};exports.HomeComponent=HomeComponent;
// NavBar.jsx (attempts to load the sample plugin)<Pluginname='TestPlugin'/>
The console doesn't display anything related to [RemoteComponent] and no errors are being logged.
Expected behavior:
RemoteComponentshould come out ofloadingComponentafter receiveing valid bundled Javascript.Current behavior:
RemoteComponenthangs in the loading state, displayingloadingComponentindefinitely.Code sample:
# Bundler command npx babel --presets=@babel/preset-env,@babel/preset-react plugins/Test/src/ui/navbar/Main.jsx -o plugin s/Test/src/ui/navbar/Main.jsThe console doesn't display anything related to
[RemoteComponent]and no errors are being logged.