import React from "react";
import universal from "react-universal-component";
import { connect } from "react-redux";

const UniversalComponent = universal(props => import(`./${props.page}`));

const MyComponent = ({ page }) => (
  <div>
    <UniversalComponent page={page} />
  </div>
);

export default connect(({ page }) => ({ page }))(MyComponent);

@@ -74,47 +74,8 @@
 nt%22;
-%0Aimport %7B connect %7D from %22react-redux%22;
 %0A%0Aco
@@ -184,22 +184,8 @@
 ) =%3E
- (%0A  %3Cdiv%3E%0A   
  %3CUn
@@ -219,19 +219,8 @@
 %7D /%3E
-%0A  %3C/div%3E%0A)
 ;%0A%0Ae
@@ -237,42 +237,8 @@
 ult 
-connect((%7B page %7D) =%3E (%7B page %7D))(
 MyCo
@@ -244,11 +244,10 @@
 omponent
-)
 ;%0A

Simplify example