A few common stumbling points when using strict mode are:
- You must declare all variables. Use any of the
constdeclarations in libraries or modules.
- The libraries that your components use must also work in strict mode but don’t need to specify
- If you use third-party libraries that specify
"use strict"explicitly, you can get errors under LWS. See Third-Party Library Strict Mode With LWS.