DORSETRIGS
Home

sanity (15 post)


posts by category not found!

WARN The default export of @sanity/client has been deprecated. Use the named export `createClient` instead

Modernizing Your Sanity Client Migrating from Default Export to create Client Sanity io is a popular platform for building content management systems CMS Its ro

2 min read 05-10-2024 37
WARN The default export of @sanity/client has been deprecated. Use the named export `createClient` instead
WARN The default export of @sanity/client has been deprecated. Use the named export `createClient` instead

Setting the width of a field in sanity studio

Mastering Field Width in Sanity Studio A Guide to Customization Sanity Studio the powerful content management platform offers a highly customizable interface fo

2 min read 05-10-2024 41
Setting the width of a field in sanity studio
Setting the width of a field in sanity studio

next.js13 fetching data with an async function and also use state?

Fetching Data with Async Functions and State in Next js 13 Next js 13 introduces powerful features for fetching data and managing state making it easier than ev

2 min read 05-10-2024 38
next.js13 fetching data with an async function and also use state?
next.js13 fetching data with an async function and also use state?

Reusing pieces of sanity groq queries and still being able to use the typegen tool

Reusing Pieces of Sanity GROQ Queries while Utilizing the Typegen Tool In the world of headless CMS Sanity is a popular choice for developers seeking flexibilit

2 min read 25-09-2024 44
Reusing pieces of sanity groq queries and still being able to use the typegen tool
Reusing pieces of sanity groq queries and still being able to use the typegen tool

Sanity internationalization with sanity-plugin-internationalized-array

Sanity Internationalization with the sanity plugin internationalized array Sanity io is an excellent content platform that allows developers to build customizab

2 min read 17-09-2024 80
Sanity internationalization with sanity-plugin-internationalized-array
Sanity internationalization with sanity-plugin-internationalized-array

Sanity GROQ Query to Fetch All Blog Posts 90 Days or Older

How to Use a Sanity GROQ Query to Fetch All Blog Posts 90 Days or Older When managing a blog it s often useful to filter content based on certain criteria such

3 min read 16-09-2024 46
Sanity GROQ Query to Fetch All Blog Posts 90 Days or Older
Sanity GROQ Query to Fetch All Blog Posts 90 Days or Older

Section Array in Sanity IO and NextJS not detecting _type

Understanding Section Arrays in Sanity IO and Next js Troubleshooting type Detection Issues When working with Sanity IO and Next js developers often encounter c

2 min read 15-09-2024 54
Section Array in Sanity IO and NextJS not detecting _type
Section Array in Sanity IO and NextJS not detecting _type

How to trigger a re-render inside a Sanity structure builder API?

Triggering Re renders in Sanity Structure Builder APIs When working with Sanitys powerful structure builder API you might encounter situations where you need to

2 min read 13-09-2024 49
How to trigger a re-render inside a Sanity structure builder API?
How to trigger a re-render inside a Sanity structure builder API?

Ordering documents in Sanity

Ordering Documents in Sanity A Practical Guide Ordering documents in Sanity is a common task especially when you need to display content in a specific sequence

2 min read 05-09-2024 35
Ordering documents in Sanity
Ordering documents in Sanity

Sanity query always return empty array

Debugging Sanity Queries Why Your Query Might Return an Empty Array When working with Sanity it can be frustrating to encounter an empty array returned from a q

3 min read 03-09-2024 42
Sanity query always return empty array
Sanity query always return empty array

Problem framer motion component in NEXTJS

Framer Motion and Next js A Guide to Client Components This article addresses a common issue encountered when integrating Framer Motion with Next js Type Error

2 min read 03-09-2024 50
Problem framer motion component in NEXTJS
Problem framer motion component in NEXTJS

How to find a document in Sanity (groq) that has a value between two numbers

Filtering Documents in Sanity with GROQ Finding Values Between Two Numbers Sanitys Groq query language is powerful allowing you to search and filter your conten

less than a minute read 03-09-2024 52
How to find a document in Sanity (groq) that has a value between two numbers
How to find a document in Sanity (groq) that has a value between two numbers

Update document fields using Sanity.io CLI

Bulk Update Document Fields in Sanity io Using the CLI A Practical Guide Sanity io provides a powerful CLI for managing your content but sometimes you need to p

3 min read 03-09-2024 41
Update document fields using Sanity.io CLI
Update document fields using Sanity.io CLI

How can I add quote blocks to Sanity? (NextJS)

Adding Quote Blocks to Your Sanity Powered Next js Blog Building a blog with Sanity and Next js is a popular choice for developers but sometimes you need to add

3 min read 31-08-2024 43
How can I add quote blocks to Sanity? (NextJS)
How can I add quote blocks to Sanity? (NextJS)

Error "Cannot find module" when using next-sitemap with TypeScript module

Conquering the Cannot find module Error in Next js Sitemaps with Type Script This article delves into a common issue faced by Next js developers using the next

2 min read 30-08-2024 53
Error "Cannot find module" when using next-sitemap with TypeScript module
Error "Cannot find module" when using next-sitemap with TypeScript module