Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
constructor(props: Object, context: Object) {
super(props, context)
if (props.rehydrate && hasDOM(props.renderer)) {
rehydrate(props.renderer)
}
}
public render() {
const renderer = createRenderer();
let persistor = persistStore(store);
rehydrate(renderer);
return this.state.error ? (
) : (
modules.getWrappedRoot(
{modules.getWrappedRoot(
,
)}