Alec Larson
Alec Larson
For nested routes to be fully supported, we'll need a component for each UI library, but we can provide primitives to make implementation easy and share the common logic between...
https://github.com/netlify/netlify-cms The `@saus/netlify-cms` package would export a `useNetlifyCms` function that hooks into Saus to add a renderer and a route (it uses `/admin/` by default). It might also inject state...
Deployment plugin for OpenStack clouds. - Could use https://github.com/openstack/js-openstack-lib
Currently, state modules typically look like normal variables (lowercased), and you use their `.get` or `.load` methods as appropriate. When unwrapping a state module into its raw value, it can...
A state module might not be an explicit dependency of any route. In other words, it might not be used by any route during prerender. Rather, it's only loaded on-demand...
We currently use the `regexparam` library to parse route patterns, but it would be cool if plugins can override this and even provide support for values other than strings (eg:...
### ⚠️ The example in this OP is outdated. See https://github.com/alloc/saus/issues/56#issuecomment-1143963756 --- Add an `authorizeRoutes` route hook, used like so: ```ts // ./src/node/routes.ts import { authorizeRoutes, Redirect } from 'saus'...
Routes could provide global state (avoiding the need for prop drilling) that can be unmounted by the client router whenever a page is primed for garbage collection. ### Possible API...
**Proposal:** Add a runtime hook (something like `interpretErrors`) that adds a handler that runs when an endpoint throws an error. The handler can return a `ResponseTuple` array or undefined (call...
The infamous `Invalid hook call. Hooks can only be called inside of the body of a function component.` error is thrown.