Victor
Victor
@sachinraja > Undici doesn't have any constraints for forbidden headers in versions >=5.4.0 (see [docs](https://github.com/nodejs/undici#forbidden-and-safelisted-header-names)) [...] I think this is a specific error happening with the `connection` header that needs...
> @3x071c those are not there because they are forbidden headers. See [nodejs/undici#1470 (comment)](https://github.com/nodejs/undici/issues/1470#issuecomment-1140798467) > > > The reason connection is a banned header is that Undici manages the connection...
Here's how I solved it: https://github.com/3x071c/lsg/blob/e2a9592ba3ec5103556f2cf307c32f08aeaee32d/app/lib/util/zod.ts It's inspired from the `.required()` implementation in the zod source code. Since it has similar semantics, it can be integrated as-is. One major difference...
@PJColombo If you pass an empty dependency array to `useEffect`, it will only re-apply the styles and re-render the entire app when `Document` is (un)mounted. To prevent unnecessary re-renders (around...
@tavoyne [Docs](https://emotion.sh/docs/ssr)
@tavoyne Using emotion in the "out-of-the-box" SSR mode doesn't require an example, while the more advanced approach does. If one prefers the secondary approach for whatever reason (more control, better...
@tavoyne I don't think an `emotion-basic` example is necessary, as there's no configuration needed whatsoever. That's why most often the advanced SSR use case is being showcased in examples, because...
@tavoyne The basic example you linked actually does extract and inline critical CSS using "advanced" SSR techniques (definitely more simple than what the emotion docs suggest though). [This is the...
This sounds great! Trying to move a project to ESM while dependencies such as eslint are still using `require` is a real mess, which is kind of ironic considering esm...
The way I see it, esm-only would allow cjs imports, but the current approach doesn’t work the other way around (cjs can’t require an es6 module). I see a move...