How to use React without unsafe inline JavaScript/CSS code?
Background I have to use a Content Security Policy for a react application. The reason, that is however not of a big matter here, is, that I am creating a WebExtension/Browser Extension/add-on and these do have such a content security policy , and there things like 'unsafe-eval' and 'unsafe-inline' are strictly disallowed : extensions with 'unsafe-eval', 'unsafe-inline', remote script, blob, or remote sources in their CSP are not allowed for extensions listed on addons.mozilla.org due to major security issues. I have created the app with create-react-app loosly following this guide . The