You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Juan Lulkin edited this page Oct 20, 2016
·
3 revisions
When consuming the ui library you can choose to use React or Preact. Preact is a React API compatible library but with a much smaller footprint, making your builds leaner.
When using React, just install react and react-dom in your project and it will work by default. When using Preact, you will have to alias it to replace react, so first install preact and preact-compat: