inakianduaga / redux-state-history Goto Github PK
View Code? Open in Web Editor NEWRedux store enhancers for tracking and visualizing state changes
Home Page: http://inakianduaga.github.io/redux-state-history-example/
License: MIT License
Redux store enhancers for tracking and visualizing state changes
Home Page: http://inakianduaga.github.io/redux-state-history-example/
License: MIT License
Hi,
I'm having problem:
index.js:172 Uncaught TypeError: (0 , _reduxStateHistory.trackHistory) is not a function
I've followed the instructions and always get this. Any suggestions?
Sincerely,
Jan
Sometimes I need to know what action payload was, it will be great to log not only actions types, but action payloads too (according to Redux ideas all actions should be serializable). Of course I have a diff for state but sometimes payload contain some important for debugging purpose data and reducers compute some other property and don't save the payload themselves in the store.
Thanks!
This module has specified Node version "node": "4.x"
, and this causes error if trying to install with higher Node version:
error [email protected]: The engine "node" is incompatible with this module. Expected version "4.x". Got "11.2.0"
error Found incompatible module
const finalCreateStore = compose(
applyMiddleware(thunk),
applyMiddleware(createLogger()),
trackHistory() // STATE HISTORY STORE ENHANCER (DO NOT INCLUDE ON PRODUCTION)
DevTools.instrument()
)(createStore);
Missing comma after trackHistory() :)
PR incoming,
Reducer "stateHistory" returned undefined during initialization. If the state passed to the reducer is undefined, you must explicitly return the initial state. The initial state may not be undefined.
when trying it on the todo app
Hello, redux-state-history works well but I have one question.
It's possible to get only current state without history?
I have prepared the order process and I would like to save user's final state into database.
Thank you
In order to do proper includes with require, we might have to
We can also remove the uglify compress option since no one will include the library directly
Our reducer-reducer
method must have a bug because uploadHistory is receiving a null action
It's possible to specify the typings in package.json, so user can use import syntax in typescript and it will work correctly.
https://github.com/Microsoft/TypeScript/wiki/Typings-for-npm-packages
Types probably need converting or adapting (a new file that defines the entire module and includes the types we currently have)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.