Dependency (if applicable) | Minimum version |
---|---|
sass | 1.54.6 |
webpack | 5.0 |
react | 18.0.0 with workaround: 16.14.0 |
react-dom | 18.0.0 with workaround: 16.14.0 |
next | 12.1.6 |
node | 15.14.0 |
The only required dependency of above is
sass
Browser support
By default, the exported versions of Depict packages are transpiled for older browsers (targeting ES10). This makes it easier for the Depict UI to function in older browsers by default, but also results in a larger network payload and poorer page performance. However, you may still need to add polyfills. If you’re not keen on supporting older browsers, or you’d prefer to handle the transpilation process yourself, append/latest
to all your imports to include the untranspiled version.
Please see the
reference for
more information on browser compatibility.