Nathaniel Tucker

Results 66 comments of Nathaniel Tucker

You can useCache to look for the resulting denormalized form. This also ensures component re-renders work correctly, etc.

There is currently nothing, however most of the library is react agnostic, and we are currently working on pulling out most of the rest of the core logic so the...

An update on timeline here. We're getting close to 6.0 release. 6.1 will have full 'controller' defined here: https://resthooks.io/blog/2021/08/29/Experimental-useController#whats-next which will provide easy integration with other view libraries.

6.1.2 has everything needed to start working, except a good example. The key to getting normalized response is using https://resthooks.io/docs/api/Controller#getResponse and https://resthooks.io/docs/api/Controller#getError New hooks will be written that will be...

Everything is in order now. ### Shared docs on core piece: https://resthooks.io/docs/api/Controller ### React specific examples Example data binding: https://github.com/coinbase/rest-hooks/blob/master/packages/experimental/src/hooks/useSuspense.ts Example provider: https://github.com/coinbase/rest-hooks/tree/master/packages/core/src/react-integration/provider

If you'll like to converse over this, feel free to join the Rest Hooks Discord and ping me there https://discord.gg/35nb8Mz

Since JavaScript does not have multiple inheritance, and you need Resource, you cannot do this out of the box. You could try doing a mixin pattern but that does weird...

Thanks for the report Murray! If you want your app to presume it updated even when the network is down, you can achieve this using [optimistic updates](https://resthooks.io/docs/next/guides/optimistic-updates), combined with a...

This is a great idea! At Coinbase we generate our definitions from [protos](https://developers.google.com/protocol-buffers), which works great! Doing something similar for OpenAPI, would be great, and if you open source it...

@krunicn Sure! They key is identifying which messages are entities and then how they make a [primary key](https://resthooks.io/docs/api/Entity#pk). The easiest way to do this if you have control over your...