Comments (3)
I am also experiencing this.
from next-sanity.
Hi, we're working on a new version of preview mode that is easier to keep out of your bundle until it's actually needed.
It's an early version so we haven't added the code-splitting we want to yet (it loads a hefty eventsource
polyfill that's really only needed if Safari fails to use cookies with the groq subscription).
Feel free to share your thoughts on what the API should look like etc 🙂
from next-sanity.
We've just released v2.0.0
which encourages code-splitting out of the box by using React.lazy
. You shouldn't see @sanity/client
in your bundle anymore, unless it's actually used 😌
from next-sanity.
Related Issues (20)
- Warning: Invalid hook call. Hooks can only be called inside of the body of a function component. HOT 1
- for some reason it seems my data isn't updating both in production and development HOT 12
- problems upgrading to v5 – help needed – DX suggestions HOT 2
- Unable to use embedded studio with static deployment `output: export` HOT 5
- Warning: Invalid hook call. HOT 4
- Vercel build fails because of "parseBody" webhook HOT 1
- Desk crashes with Uncaught Error: Workspace: missing context value HOT 8
- NextStudio scheme prop not working for data-ui="Navbar" component HOT 1
- Visual Editing X-Frame-Options denied HOT 7
- Cannot get final name for export 'Observable' of __barrel_optimize__ HOT 2
- parseBody outdated for Route Handlers in NextJS HOT 1
- Fix Migration Guides' links HOT 2
- useCdn warning even after setting it to false HOT 1
- Next.js 14: Data Not Updating Despite Changes, Tried Revalidation and 'no-store' Caching HOT 2
- how can i deploy my nextjs sanity project on hostinger HOT 1
- how can i deploy my nextjs sanity project on hostinger HOT 1
- Studio breaks at `/studio` URL with experimentalFeature: ‘windowHistorySupport: true’ HOT 1
- Conflicting Peer Dependency
- `_QueryParamsLikelyByMistake & QueryParams` Type Issue HOT 2
- Type errors, deprecation warnings, Node Engine warnings, having to install with --legacy-peer-deps
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from next-sanity.