为 React Router 应用程序加载和更新数据依赖项。
Data dependency loading and updating for React Router applications.
This is a work in progress, we're going to try it out in one of our apps @instructure, see how it goes.
This library assumes Promise is available as a global.
…The error handling from using promises is driving me nuts, so expect the
load hook to send a callback instead of ask for a promise in the near
future, but promises make waiting on all the load hooks really trivial.
I'd also like the onChange to be smarter and not cause a rerender from
the top, but only on the route handler that has changed data.
npm install
npm run examples暂无开放 Issues,或尚未同步最近议题。