-
-
Notifications
You must be signed in to change notification settings - Fork 10.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Vision/Roadmap #3289
Comments
#3158 isn't supporting trailing slashes, it's dropping support for extra slashes. On 2.1.1, |
|
For the conditional stuff, what if the onEnter/onChange hooks had a 4th arg that was an error callback? |
You can already call back with an error. The problem is that those errors can't be caught in a semantic way. Also, raising an error is not as rich as just falling through in routing. I really do think the API in #3098 is quite nice; it does exactly what's needed here. |
I like that one too. Just brainstorming some other options in case there is something more palatable to those that don't like the extra prop. |
I updated the OP to a checklist, and checked off the two things that we already resolved. |
I'd like to merge @ryanflorence's applyMiddleware into core. No reason not to have it. |
I'm making a tweak that @taion and I talked about last night before I make a pull request, it further simplifies creating middleware components. |
We have two scroll management middlewares now: https://github.com/ryanflorence/react-router-restore-scroll, https://github.com/taion/react-router-scroll. Naturally, I like mine more, but we should probably have one with the union of the feature set :p |
I'm going to fold this into an updated meta issue for the upcoming 3.x release, intended as a minor update to the 2.x API. |
Tracking concrete goals and maybe-goals for v3.0.0 on #3611. |
We need to be more effective at communicating our vision for the router. Hopefully we can do this constructively out in the open and get everyone's feedback. Also, I hope this document gives some guidance to people who've asked how they can help.
For now, here's a list of stuff that needs to happen, in no particular order:
<Link>
active semantics (depends on Support trailing slashes, not extraneous ones #3158, see Simplify <Link> active semantics #3231 for discussion)As the discussion progresses, I'd like to expand this list, identify changes that we can make together and them into changesets with a release type (e.g.
patch
,minor
, ormajor
) so we can minimize upgrade pain.Please keep comments short and to the point. Off-topic and excessively lengthy comments will be moderated.
The text was updated successfully, but these errors were encountered: