yi-bai / rewpa Goto Github PK
View Code? Open in Web Editor NEWredux REducers With json PAth
redux REducers With json PAth
point: state.this and dispatch.this is not enough.
add a rewpa-thunk to getState via getState.this
rewpa-effects is default rewpa effect middleware.
rewpa-saga is to be supported.
rewpa-observable is recommended.
1 should reducer put into container
2 state.this, dispatch.this, getState.this
getState supports getting getState.this()
sometimes we want to implement mapping so we need this grammar.
when a key is not found use priminitive rewpa
Enhanced react-redux connect support:
mapStateToProps, you can access this scope's data through state.__this.
mapDispatchToProps, you can dispatch this path's action through dispatch.__this
currently the set action is dangerous and will break the schema. with lodash.mergeWith we can do it without breaking schema.
Hi. Skimming through the code, looks like you've got something useful, but I can't tell exactly what this library does. Could you clarify what this library does, and maybe add a bit of documentation and examples?
in the path "..#User" kind of path can be supported (to update all user information inside the path)
For now, list delete and map delete
add four new types of rewpa, Record, Map, List and Set
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.