plugins/react/common.js
function applyViewWrappers({reactElement, initialProps, viewWrappers=[]}) {
    viewWrappers
    .forEach(viewWrapper => {
        reactElement = viewWrapper(reactElement, initialProps);
    });
    return reactElement;
}
function applyViewWrappers({reactElement, initialProps, viewWrappers=[]}) {
    viewWrappers
    .forEach(viewWrapper => {
        reactElement = viewWrapper(reactElement, initialProps);
    });
    return reactElement;
}
function applyViewWrappers ( { reactElement , initialProps , viewWrappers = [ ] } ) { viewWrappers . forEach ( viewWrapper => { reactElement = viewWrapper ( reactElement , initialProps ) ; } ) ; return reactElement ; }
Apply view wrappers. E.g. the `@reframe/react-router` plugin adds a view wrapper to add the provider-components `<BrowserRouter>` and `<StaticRouter>`.
Apply view wrappers . E . g . the