We have released #HotChocolate 14.2 with experimental support for @semanticNonNull. If you are using relay you can already take advantage of this new feature.
https://t.co/8NlLrWNj79
#graphql#dotnet
This past year at @MicrosoftTeams, I've had the pleasure to lead the UI architecture for part of this new Chats and Channels UX, and introduce @RelayFramework to our @reactjs stack to use @GraphQL the way originally intended. Coming soon to 320+ MAU 😅
https://t.co/ALZIljp8vF
The Relay compiler is gaining a new capability: codemods
What GraphQL codemods would you like to see built into the Relay compiler?
https://t.co/uBKN4kycaH
@hd_nvim@StatisticsFTW@defer It will be included as a second payload as part of the initial query’s HTTP request. So, one HTTP request for all your data, but the non-deferred part will be sent first.
https://t.co/8CZcJFR3kY
We recently added an experimental API to enable exactly this: defer data that you only access within an event handler.
waitForFragmentData: https://t.co/ENbEpTcaXC
The fragments that are used only in an event make me think that @RelayFramework has a missing primitive: the ability to defer a fragment and read it, without suspending, but instead to get a promise that resolves with the deferred fragment's value.
@hd_nvim@StatisticsFTW@defer Notably useLazyLoadQuery will suspend until the data is available, which is not what you want for reading data that is only needed within an event handler.
@hd_nvim@StatisticsFTW This lets you include the data you want as part of the parent query so it’s either already loaded or on its way when you try to load it. But it also lets you use @defer so that the rest of the data in the query will not wait on data only needed in an event handler.
The Relay #GraphQL connection specification explained! Have a look at the recording, It explains really well why meta designed this fundamental GraphQL pattern the way they did.
https://t.co/Zp0mlv1H8s
The “Data collocation” enabled by Relay (and now RSC) is really about composability. Without colocated data dependencies your components are tightly coupled to a parent query.
With collocation your components snap into (and out of!) place like LEGO bricks letting you move fast.
Relay v16.2.0 has been released. It includes support for the new @preloadable directive and also contains a minor breaking change to the configuration. You can find more information in the release notes here: https://t.co/34F4EHI3U4
New Relay blog post articulating how Relay’s approach to application authorship enables a unique combination of optimal runtime performance and application maintainability.
https://t.co/QE6TIvV9DW
by @captbaritone