Simple forum software for building great communities.
Go to file
Alexander Skvortsov 3f0b3c789f Allow extensions to use route resolvers (#2275)
- mapRoutes: don't wrap components in resolvers if they are already resolvers
- Extract defaultResolver into its own class
- Allow either route resolver instances, or components with an optional resolverClass which should accept the component and route name in its constructor.
- Introduce a resolver for DiscussionPage, so that routing from one post to another on the same discussion triggers a scroll instead of rerendering
2020-10-15 18:01:17 -04:00
framework/core Allow extensions to use route resolvers (#2275) 2020-10-15 18:01:17 -04:00