bs-next icon indicating copy to clipboard operation
bs-next copied to clipboard

Missing Router API

Open dcalhoun opened this issue 8 years ago • 2 comments

Next.js includes additional API related to routing. There are currently no bindings present for them.

dcalhoun avatar Dec 25 '17 22:12 dcalhoun

If it have not changed since last time I had time to do more reason higher order components doesn't really make sense/isn't doable in reason. But the router component should be.

ulrikstrid avatar Dec 26 '17 12:12 ulrikstrid

Given that I'm so new to ReasonML, I don't really have an opinion as to whether or not a withRouter HoC should be added in bs-next. However, I have come across examples of people using both HoC and render props in ReasonML/ReasonReact.

dcalhoun avatar Dec 26 '17 22:12 dcalhoun