[📖] Please do not override JS common stuff #6929
Labels
COMMUNITY: good first issue
Good for newcomers
COMMUNITY: PR is welcomed
We think it's a good feature to have but would love for the community to help with the PR for it
COMP: docs
Improvements or additions to documentation
Suggestion
In the route loaders page it's specified that:
Please don't override JS common practices. What if somebody wants to reuse a route loader across multiple index or layout files?
It's common in JS to break code into modules. Please don't prevent developers from defining a
blogLoader
in a separate file, and import/export it into/blog/index.jsx
and/post/index.jsx
files.Please fix the aforementioned part of the documentation.
The text was updated successfully, but these errors were encountered: