import React from 'react' import ReactDOM from 'react-dom' import { Provider, connect } from 'react-redux' import { createStore, combineReducers, applyMiddleware } from 'redux' import thunk from 'redux-thunk' import rootReducer from './redux/reducers' import App from './components/App' const store = createStore( rootReducer, applyMiddleware(thunk) ); ReactDOM.render( <Provider store={store}> <App/> </Provider>, document.getElementById('root') ); // Only change code below this line
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter