Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Usage with create-react-app #18

Open
Hum4n01d opened this issue Dec 31, 2017 · 0 comments
Open

Usage with create-react-app #18

Hum4n01d opened this issue Dec 31, 2017 · 0 comments

Comments

@Hum4n01d
Copy link

I have a React app running on create-react-app and I'm trying to use redux-scuttlebutt to sync different clients with each other. In my index.js on the client side I have

const enhancer = compose(
  scuttlebutt(),
  window.__REDUX_DEVTOOLS_EXTENSION__
    ? window.__REDUX_DEVTOOLS_EXTENSION__({ stateSanitizer: devToolsStateSanitizer })
    : f => f
)

const store = createStore(
  guesses,
  undefined,
  enhancer
)

How can I set up redux-scuttlebug on the backend without having to eject?

(sidenote: I may not be understanding how the library works 😉)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant