Markos Konstantopoulos
Markos Konstantopoulos
I actually [created an app](https://hsfilter.netlify.com) that does this if you want to play around. I will push it on GitHub sometime in the near future.
I upgraded dependencies and I got an extra 30kb+ on the bundle. I import `BLOCKS` and `MARKS` from `@contentful/rich-text-types` to create an `options` object for `renderRichText` function (that comes from...
Thanks @z0al. Do you think the issue was that `ajv` is not available in `esm`? If that's the case, when [this pr](https://github.com/ajv-validator/ajv/pull/1861) gets released, you may be able to add...
I also have high TBT on a Gatsby site with `theme-ui`. After measuring the production build, I noticed that a good portion of React's hydrate (25%) was spent on calls...
The blog post for gatsby on [step 4](https://stitches.dev/blog/using-gatsby-with-stitches#step-4-ssr) makes it seem that the `getCssText` function returns the critical path CSS for each page, not the accumulated CSS from all pages...
You can use the [white-space](https://developer.mozilla.org/en-US/docs/Web/CSS/white-space) css property with the `pre-wrap` value. For example, `white-space: pre-wrap;`. You can pass it as a style prop in the Highlighter component. [Codesandbox example](https://codesandbox.io/s/reacthighlightwords-preserve-space-er0j0)
I'd be happy to create a pull request for the last 2. For the first I'll have to look into it, I have no clue.