Giter VIP home page Giter VIP logo

redux-state-history's People

Contributors

drewjenkins avatar m3talstorm avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

redux-state-history's Issues

trackHistory is not a function

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

Is there a way to log the full action object?

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!

Upgrade Node version

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

Missing comma in README.md

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,

Pass initial state to stateHistory reducer

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

Get final state

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

Setup build

In order to do proper includes with require, we might have to

  • Provide a unified index.js that includes all packages,
  • Provide subfolder with the 2 split includes

We can also remove the uglify compress option since no one will include the library directly

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.