Working with a React codebase and want to use Preact? Ideally, you should use preact and preact-compat for your dev, prod and test builds. This will enable you to discover any interop bugs early on. If you would prefer to only alias preact and preact-compat in Webpack for production builds (e.g if your preference is using React DevTools and enzyme), make sure to thoroughly test everything works as expected before deploying to your servers.
Created
September 9, 2017 00:25
-
-
Save addyosmani/21bd72ed5d57c071c6ffea09b60602c3 to your computer and use it in GitHub Desktop.
react-preact.md
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment