rio icon indicating copy to clipboard operation
rio copied to clipboard

Page Rework!

Open mad-moo opened this issue 8 months ago • 0 comments

A lot of discussions have come up regarding pages:

  1. It's weird that pages inherit from rio.Component, rather than rio.Page. It's even more confusing, that in addition to the component there is a rio.Page object, but that one only stores metadata.

  2. Redirects are an often needed feature. While they can be implemented using Guards, doing so is rather ugly. Add a proper rio.Redirect class.

  3. Instead of specifying all pages in an app, find them automatically from the pages directory.

Anything else?

mad-moo avatar Jun 13 '24 16:06 mad-moo