Closed cjoecker closed 7 months ago
I suppose I need to update that part of the README.
remix-flat-routes
was the initial implementation of the flat routes spec. I added some enhancements to it based on user feedback.
When Ryan decided to make flat routes the default convention, he opted to only use the original spec. This is what is now the v2
routing convention.
So if you want hybrid routes, extended route filenames, etc., you'll still need to use the remix-flat-routes
package. This package will always maintain compatibility with the Remix convention. It is simply a superset/extension.
Also note that popular packages like Kent's Epic Stack uses remix-flat-routes
, so although not a core, it is stable.
@kiliman thanks for the fast answer! An update of the docs would be helpful, thanks!
Done!
In the docs, It says the
remix-flat-routes
will be integrated to remix core.For me, the following is not clear:
remix-flat-routes
will be integrated in Remix Coreremix-flat-routes
in the near featureremix-flat-routes
be integrated in Remix Core (if it is not already integrated)