react-router-native icon indicating copy to clipboard operation
react-router-native copied to clipboard

add applyRouterMiddleware (#21)

Open jmurzy opened this issue 9 years ago • 0 comments

As discussed in #21.

Ideally and for maximum code reusability we would want to submit a patch to upstream to make this work with any RouterContext:

export const createApplyRouterMiddleware = (context) => (...middlewares) => {};

export default createApplyRouterMiddleware(RouterContext);

🍺

jmurzy avatar Jun 15 '16 07:06 jmurzy