Form Drawer - To route or not route?
Would there be any major benefit to giving a form drawer a route? For instance /invoices route displays table and /invoices/new or /invoices/$id displays a form within a drawer over the main invoices list.
Or just keep the drawer open/close and rendering within the component logic?
1 Reply
like-gold•17mo ago
You can link to the open drawer directly 🙂
You can use the browser back button to close it
You can later change it from a drawer to a full fledged page easily