Back to Notes

Nested Layouts

with remix we can add a same layouts even if the routes dont be nested. For example we create the next layout:

then we use this layout in different routes like this: _note-layout.add-note and _note-layout.note.$id These routes aren't nested but have the same layout.