-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Hi there, is there a way to pass props to the remote component, for instance:
//in host/src/Host.jsx
function Host(){
const world = "world!";
return <RemoteComponent url="url" scope="scope" module="./App" name={world}/>;
}
export default Host;
//in remote/src/App.jsx
function App(props) {
console.log(props);
return <h2>Hello {props.name}</h2>;
}
export default App;
Currently I believe this would just render Hello as the props object "sent" to App is empty.
Metadata
Metadata
Assignees
Labels
No labels