airbnb / airbnb/react-sketchapp
renderToJson broken in 3.2.5
- Dominant language
- TypeScript
- Stars
- 14.9k
- Forks
- 797
- PR merge metrics
- No merged PRs in 30d
Description
**Expected behavior:**
**Observed behavior:** when I update the version from 3.1.2 to 3.2.5 , report error "undefined is not an object (evaluating 'bridge.createStringMeasurer') "
**How to reproduce:**


**Sketch version:** 66
But it work when i change the import:

May be related to this pr #517
Contributor guide
Research direction
Start by comparing the renderToJson import that works with the failing import after upgrading from 3.1.2 to 3.2.5, then review PR #517 for related changes. Reproduce the error in Sketch 66 and confirm that renderToJson no longer reports the missing bridge.createStringMeasurer error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100