rio-labs/rio

Page Rework!

Opened this issue · 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?