Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
action () {
mount(Layout, { // Mount a component and pass it an object with its props
content () { // Define the 'content' function as a prop for the Layout component
return // We return a component that will be mounted within the Layout component
}
})
}
})
action() {
mount(AppLayout, {
content: () => ()
});
}
});
action({nodeId}) {
mount(AppLayout, {
content: () => ()
});
}
});
action() {
mount(AppLayout, {
content: () => ()
});
}
});
action() {
mount(AppLayout, {
content: () => ()
});
}
});
action() {
mount(AppLayout, {
content: () => ()
});
}
});
action() {
mount(mainLayout, {
content: () => ()
});
}
});
action() {
mount(mainLayout, {
content: () => ()
});
}
});
action (params) {
/**
* We mount a comeponent when the client access this route
* Documentation for react-mounter: https://github.com/kadirahq/react-mounter
*/
mount(Home)
}
})
action(params) {
mount(SimpleLayout, {content: });
}
});