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

Can I use it for Angular application? #19

Open
himanshu-a-rana opened this issue Jun 20, 2019 · 4 comments
Open

Can I use it for Angular application? #19

himanshu-a-rana opened this issue Jun 20, 2019 · 4 comments
Labels

Comments

@himanshu-a-rana
Copy link

No description provided.

@jkzing
Copy link
Owner

jkzing commented Jun 26, 2019

Of cause you can, as long as you integrate remote-redux-devtools in your redux store.

And sorry for delay of response.

@himanshu-a-rana
Copy link
Author

himanshu-a-rana commented Jun 28, 2019 via email

@jkzing
Copy link
Owner

jkzing commented Jun 28, 2019

@himanshu-a-rana See here https://github.com/jkzing/vscode-redux-devtools#quick-start

  • Optional, if you don't have an remotedev server running, you need to start one. (Find documentation here or see our example)
  • Additionally, you also need to compose remote redux devtool middleware into your redux store:
import { createStore, applyMiddleware } from 'redux'
import { composeWithDevTools } from 'remote-redux-devtools'

const composeEnhancers = composeWithDevTools({
  realtime: true,
  name: 'Your Instance Name',
  hostname: 'localhost',
  port: 1024 // the port your remotedev server is running at
})

const store = createStore(
  yourReducer,
  composeEnhancers(
    applyMiddleware(/* put your middlewares here */)
  )
)

@himanshu-a-rana
Copy link
Author

himanshu-a-rana commented Jun 28, 2019 via email

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

No branches or pull requests

2 participants