Skip to content

Choose a Pattern

Runtime Module Composition offers two patterns for handing control to a slice: Module Boundary keeps the slice inside the host’s own framework tree, while Independent Mount hands the slice a DOM element and lets it manage its own rendering lifecycle. Answer the questions below to find out which one fits your situation.

Written by Angelo Vagenas