LoginSignup
0
0

useContentfulLiveUpdates - RangeError: Maximum call stack size exceeded

Posted at

You might miss passing sys.id property to the useContentfulLiveUpdate.

// `post` should contain `sys.id` property.
const updatedPost = useContentfulLiveUpdates(post);

It’s necessary that the provided information to the hook contains the sys.id for identification.
https://www.contentful.com/blog/elevate-your-contentful-and-next-js-workflow-with-live-preview/

useContentfulLiveUpdates may recursively search sys.id property in its object.

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0