File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
spec/dummy/client/app/startup Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 11import PropTypes from 'prop-types' ;
22import React from 'react' ;
3- import ReactOnRails from 'react-on-rails' ;
3+ import ReactOnRails from 'react-on-rails/client ' ;
44import RailsContext from '../components/RailsContext' ;
55
66class HelloWorldRehydratable extends React . Component {
Original file line number Diff line number Diff line change 1- // Top level component for client side.
2- // Compare this to the ./ServerApp .jsx file which is used for server side rendering.
1+ // Top level component for the client side.
2+ // Compare this to the ./ReduxSharedStoreApp.server .jsx file which is used for server side rendering.
33
44import React from 'react' ;
55import { Provider } from 'react-redux' ;
Original file line number Diff line number Diff line change 1- // Top level component for serer side.
2- // Compare this to the ./ClientReduxSharedStoreApp .jsx file which is used for client side rendering.
1+ // Top level component for the server side.
2+ // Compare this to the ./ReduxSharedStoreApp.client .jsx file which is used for client side rendering.
33
44import React from 'react' ;
55import ReactOnRails from 'react-on-rails' ;
You can’t perform that action at this time.
0 commit comments