Skip to content

Instantly share code, notes, and snippets.

@DJanoskova
Created August 8, 2021 06:08
Show Gist options
  • Select an option

  • Save DJanoskova/af347456e73ae586b217d837438c0211 to your computer and use it in GitHub Desktop.

Select an option

Save DJanoskova/af347456e73ae586b217d837438c0211 to your computer and use it in GitHub Desktop.
import React from 'react';
import ReactDOM from 'react-dom';
import { withStore } from 'vuex-but-for-react';
import App from './App';
import store from './store';
const AppWithStore = withStore(App, store);
ReactDOM.render(
<AppWithStore />,
document.getElementById('root')
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment