Sebastian "Sebbie" Silbermann
Sebastian "Sebbie" Silbermann
Nothing interesting in here
This is a bad error message from React. The React Compiler is not supported in a React Server environment (e.g. in React Server Components) since memoization would have no effect...
> I assume that this is the recommended approach right now and that frameworks like Next are expected to support the react-server import condition? That should already be the case...
Can you include a minimal repro? Try to remove as much code as possible until it no longer reproduces.
Can you share the app the produces this result? Ideally reduced as much as possible from the Component tree until the error no longer reproduces.
> However, I'd respectfully disagree with automatically trusting patch versions within the cooldown period. This would create a significant loophole that attackers could exploit. GitHub security advisories, as well as...
We don't allow implicit undefined in useState, useContext etc either. The docs also mark the initial state as required: https://react.dev/reference/react/useActionState
@bartlomieju Thanks for confirming. I'm going to merge this. I double checked that Deno supports all the modules `react-dom/server` needs: `async_hooks` (only `AsyncLocalStorage`), `crypto`, `stream`, and `util`. Notably, `async_hooks` wasn't...
Makes sense. Could you work on a PR fixing this?
We should only consider `element.inert` if its defined and otherwise ignore it in the check. The `hidden` option should also apply to `inert`