Redeux dependency injection
redeux-inject
A tiny redeux dependency injector 💉
This module exposes two functions:
inject
dispatch
These allow you to parse state and dispatch actions without having to pass data through layers of components.
install
npm i redeux-inject --save
usage
-- -------------------- ---- ------- -- ---------- --- -------- - ------------------------ --- ----- - ------------------------- --------------- -- --------- ------- -------- -------- ------ ------- ------- - ------ - ------- --------- ------ - ------ ------- - - - -- ------ -------- --------- ------- - --- --- - ------------------------ ---------------- -- ------- - -------------------------- -- -------- -------- ------ ---------- - ------------ - ------- - -------------------------
HomePage
https://github.com/kristoferjoseph/redeux-inject#readme
Repository
git+https://github.com/kristoferjoseph/redeux-inject.git
来源:JavaScript中文网 ,转载请注明来源 https://www.javascriptcn.com/post/6005606781e8991b448de888