airbnb / hypernova-react

React bindings for Hypernova.
https://github.com/airbnb/hypernova
MIT License
248 stars 43 forks source link

react redux is supported? #36

Closed akichim21 closed 6 years ago

akichim21 commented 6 years ago

I'm challenging react, redux server side rendering. Do hypernova-react support react, redux? if supported, please tell me integrated code.

akichim21 commented 6 years ago

sorry. I can.

akichim21 commented 6 years ago
class Show extends React.Component {
  render() {
    return (
      <Provider store={configureStore}>
        <div>ok</div>
      </Provider>
    );
  }
}
export default renderReact(
  'show',
  Show,
);