Closed jvanbruegge closed 6 years ago
This would be done from my side, of course this is a major breaking change, so it would be v5.0.0
cc @staltz
For a new major version, I think this sounds great!
Looks good! I've also been thinking a lot about routing (for instance I was considering how to wrap React Navigation for Cycle.js apps in React Native) and came to conclusion it's logic, not effects. I haven't reviewed this PR carefully, but I saw the shift from makeDriver to routerify.
:)
So, I've removed unneeded dependencies from the package.json, everything should be good to go
@jvanbruegge I added you as a collaborator on github and npm
I already wondered about the automatic subscription :)
Should we merge this?
I posted a question above, but I'm fine with merging
Added the option
Anything left to do?
Looks good to me. I'll leave the merging and publishing to you.
If history is omitted from sources shouldn't the key be deleted from sources instead of just set to undefined
? As it stands, Object.keys(sources)
will still show history
and that's odd...
I can do that
This will allow for easier testing, because the router is only a pure wrapper for the main function. You can simply add it in your tests and dont have to mock it.
I'm currently converting the tests. What do you think @ntilwalli?