1.2.0 • Published 2 years ago
@faculty/frontier-shell-feature-utils v1.2.0
Frontier Shell Feature Utils
Useful functionality for building a feature in this shell.
IFrameAwareSubrouter
Replaces all navigation with a round trip via the parent shell to keep the apps in sync.
Add this component immediately after the regular Router component for the app.
import { IFrameAwareSubrouter } from '@faculty/frontier-shell-feature-utils';
render(
<Router>
<IFrameAwareSubrouter>
<App />
</IFrameAwareSubrouter>
</Router>
)