react
react copied to clipboard
Type updates and runtime error handling
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!