Change to require React 18
React 16 *may* currently still work depending on your bundler. But it doesn’t work in Node, because the React team uses an incorrect export map to expose their JSX runtime in 16 (and 17).
T
Titus Wormer committed
ec2b13463788527bf2279743fb6909c61d51f4ec
Parent: c0dfbd6