Skip to Content
GuideSupportMigratingMigrating @codedazur/fusion-sanity

Migrating @codedazur/fusion-sanity

To v1.0.0

1. SanityParser

The Fusionprovider component has been removed. Instead a new SanityParser component has been added. Since this component does not rely on context, it can be used within a server component.

To support that use-case, all of the adapters have been refactored from hooks to pure functions.

Finally, the client prop has been replaced with a sanity prop, which expects a { projectId, dataset } object.

Last updated on