Security News
JSR Working Group Kicks Off with Ambitious Roadmap and Plans for Open Governance
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
remote-redux-devtools
Advanced tools
Use Redux DevTools remotely for React Native, hybrid, desktop and server side Redux apps.
npm install --save-dev remote-redux-devtools
Just add our store enhancer to your store:
store/configureStore.js
import { createStore, applyMiddleware, compose } from 'redux';
import thunk from 'redux-thunk';
import devTools from 'remote-redux-devtools';
import reducer from '../reducers';
export default function configureStore(initialState) {
const enhancer = compose(
applyMiddleware(thunk),
devTools()
);
// Note: passing enhancer as last argument requires redux@>=3.1.0
return createStore(reducer, initialState, enhancer);
}
Use one of our monitor apps to inspect and redo actions:
The source code is here.
It also included in following projects:
remotedev-app
.In order to make it simple to use, by default, the module and the monitor app communicate via remotedev.io server. Use remotedev-server cli to run it locally in order to make the connection faster and not to require an internet connection.
Name | Description |
---|---|
name | Instance name to be showed in the app. |
hostname | If port is specified, default value is localhost . |
port | Local host's port. |
filters | Map of arrays named whitelist or blacklist to filter action types. |
maxAge | Number of maximum allowed actions to be stored on the history tree, the oldest actions are removed once maxAge is reached. Default is 30 . |
All props are optional. You have to provide at least port
property to use localhost
instead of remotedev.io
server.
Example:
export default function configureStore(initialState) {
// Note: passing enhancer as last argument requires redux@>=3.1.0
return createStore(
rootReducer,
initialState,
devTools({ name: 'Android app', hostname: 'localhost', port: 8000, maxAge: 30, filters: { blacklist: ['EFFECT_RESOLVED'] }})
);
}
MIT
FAQs
Relay Redux actions to remote Redux DevTools.
The npm package remote-redux-devtools receives a total of 15,268 weekly downloads. As such, remote-redux-devtools popularity was classified as popular.
We found that remote-redux-devtools demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
At its inaugural meeting, the JSR Working Group outlined plans for an open governance model and a roadmap to enhance JavaScript package management.
Security News
Research
An advanced npm supply chain attack is leveraging Ethereum smart contracts for decentralized, persistent malware control, evading traditional defenses.
Security News
Research
Attackers are impersonating Sindre Sorhus on npm with a fake 'chalk-node' package containing a malicious backdoor to compromise developers' projects.