Dealing with annoying JSX conversion
Are all JSX converters this unintuitive, or is it just me? Notes from wiring brand text colors in Payload Lexical - and the surprises that followed.
I hesitate to call this a "blog", since for me that implies a certain level of consistency, quality, and thought-out-ness. This is more of a log where I'm mostly just documenting some problems I've encountered and how I solved them, and writing down my thought process as I go along.
I do this mostly as a journal and my personal reminder, but if someone else finds some value in it, all the better.
Are all JSX converters this unintuitive, or is it just me? Notes from wiring brand text colors in Payload Lexical - and the surprises that followed.
A three-step Context refactor on a B2B app - menu state in App vs MenuContextProvider vs custom hooks, focused on re-render optimization.
Creating a new collapsible card component by modifying an existing one using the library's tools and practices
First steps in Payload's NextJS website template - uploadable header logo via a new global, upload field, unstable_cache tags, and afterChange revalidation...
Notes from my first time wiring Contentful Rich Text into Next.js 13 - customizing links with documentToReactComponents options
Mapping Contentful blog entries in getStaticProps and reshaping nested fields so the date string uses Serbian locale formatting
Using fill, sizes, and object-fit on next/image for a hero background fed by Contentful, instead of background-image in CSS.
If you’ve worked with Next.js, you’ve probably seen this error before. It’s the one where the browser complains that "Text content does not match server-rendered HTML"...