Mike Molisani
Mike Molisani
It would be great if this library could be written in a more headless way to avoid these opinionated styles. Trying to override all of the styles is a bit...
Query to export... ```graphql export const PageQuery = graphql` query { contentfulPage { title slug richText { json } } } `; ``` Your page component... ```jsx const MyPage =...
Confused by what you mean by this. If what you mean is that you have to fire off another request based on a retrieved ID, I would recommend doing that...
You have to handle the asynchronous call before passing anything to `documentToHtmlString`. So get your initial document tree as JSON, then parse that tree for assets, fetch those assets by...
It would be more interesting to see a recursively asynchronous rich text fetch package. The renderer should really be free of side effects and such a package would allow all...
@cajoy > Have the same issue with next.js as @nijotz . For some reason `getInitialProps` losses `$$typeof` property for the content generated by `documentToReactComponents`. > > This property exists on...
I'm not sure if this is related but I was trying to better understand the internals of when events were emitted. I used message creation as my case study. I...
@RyanCavanaugh appreciate the clarification So just to make sure I'm understanding (as this was also my assumption) - because the property is accessed first, we get the type as it...
Similarly, I was just playing around with `loading.tsx` as a client component rendering a `` with a `progress` variable intended to update in `setInterval` setup in an effect. It fails...
Might have found some related content. https://github.com/vercel/next.js/issues/44249 After reading that post, it seems to suggest that there is not enough JS loaded to client render/hydrate the app and this is...