raster-foundry / blasterjs

React UI library designed and built by Azavea
https://raster-foundry-blaster.netlify.com
Other
6 stars 3 forks source link

Update Blaster component for performance optimizations #254

Open designmatty opened 4 years ago

designmatty commented 4 years ago

Updating the Blaster component for performance enhancement:

  1. Add static theme prop
  2. Add debug prop
    • Defaults to true
    • If true and static theme null outputs warning and complete theme object, and encourages use of static theme.

Utilize this codesandbox for testing: https://codesandbox.io/s/blaster-utility-testing-env-c6sfy