Skip to content

Conversation

taion
Copy link
Contributor

@taion taion commented May 3, 2016

I don't want to anachronistically update the v2.x upgrade guide to reference libraries that didn't exist at the time, but it's worth noting that the API to scroll-behavior has in fact changed.

@timdorr
Copy link
Member

timdorr commented May 3, 2016

I say go ahead and retcon it to point to react-router-scroll. I made similar changes for withRouter.

Really, that doc can be "upgrade-2.x.x.md" and is a living doc that changes to provide upgrade instructions for anyone coming from any previous major. The individual upgrade-2.x.0 docs can be differences for that particular minor. No point in checkpointing someone at 2.0, 2.1, etc etc if they can skip something like switching to scroll-behavior and then to react-router-scroll.

@timdorr timdorr added the docs label May 3, 2016
@taion
Copy link
Contributor Author

taion commented May 3, 2016

That might be a better policy – living upgrade guides and all. I feel weird pointing users at something that requires v2.3.0 in the v2.0.0 upgrade guide, though.

@taion
Copy link
Contributor Author

taion commented May 5, 2016

@timdorr Are you okay if we merge this as an improvement? Ideally we'll end up combining the nice parts of both @ryanflorence's scroll library and mine, and end up with something better later on. I don't think we need to tackle the question of whether our upgrade guides should be living documents (for how long?) just to add a caveat that the instructions in them no longer work with the latest release of the linked library.

@timdorr
Copy link
Member

timdorr commented May 5, 2016

Yeah, it's OK with me. We can tackle that stuff later.

@taion taion merged commit cbdc494 into master May 5, 2016
@taion taion deleted the scroll-behavior-docs branch May 5, 2016 02:37
@lock lock bot locked as resolved and limited conversation to collaborators Jan 19, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants