Skip to main content

ChaynsHistoryLayerProvider

Callable


  • Provides a ChaynsHistoryLayer to the React subtree and registers it on the module-level layer stack so that getCurrentChaynsHistoryLayer() (static / non-React call sites) also sees this layer as the current one.

    Use ChaynsHistoryLayerOverrideProvider instead if you only want to override the React context without affecting static call sites.


    Parameters

    Returns ReactNode