I want to run a JS function from a module that loaded asynchronously (that exposed by module federation) and to use the return value in a React component.
For example, setting the visibility of some element by the value of a function that returns a boolean value.
All of the examples that I found, explain how to lazy load React components
Thanks! Shlomi