primate
primate copied to clipboard
app depth isn't calculated correctly with only non-JS routes
If routes only contains non-JS files, app depth, which is essential for layout depth calculation, isn't calculated correctly.
for the sake of this fix, @rcompat/fs/router might need to be extended to support several extensions
see also https://github.com/rcompat/rcompat/commit/1f95a56b1d7d9ee2732103c0a2b1c7b87212a68c
@rcompat/fs/router has got support for multiple extensions in https://github.com/rcompat/rcompat/commit/646e0f7c0fe3c8439253a2a8b8b60f08a9b6fdf1