react icon indicating copy to clipboard operation
react copied to clipboard

Type updates and runtime error handling

Open jamesrweb opened this issue 3 years ago • 0 comments

Update project types and add a guard wrapper to log an appropriate error message if no sketch is provided at runtime.

Proposed Changes

  • Remove legacy types
  • Add new types for guard handler
  • Handle runtime exception case for a missing sketch prop.

Additional Notes (optional)

This PR is more of a proposal, please review and provide feedback as usual, happy for design / implementation suggestions if any come to mind for discussion!

jamesrweb avatar Aug 05 '22 13:08 jamesrweb