next.js
b1ce6042 - add compilation error for taint when not enabled (#88173)

Commit
47 days ago
add compilation error for taint when not enabled (#88173) Using `taint` APIs from React without enabling `experimental.taint` will error at runtime because it needs to bundle experimental React, making it hard to catch and potentially leading to downtime. This updates our transform to throw an error if we detect that it's imported but `taint` isn't enabled. Fixes NAR-690
Author
Parents
Loading