Alec Larson

Results 407 issues of 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...

roadmap
proposal

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...

package idea

Deployment plugin for OpenStack clouds. - Could use https://github.com/openstack/js-openstack-lib

package idea

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...

roadmap
proposal

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...

enhancement
runtime

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:...

backlog
plugin API

### ⚠️ 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'...

enhancement
roadmap

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...

runtime
proposal

**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...

proposal
http

The infamous `Invalid hook call. Hooks can only be called inside of the body of a function component.` error is thrown.

bug
@saus/react