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
Before replacing the current asynchronous messaging setup, we could get it in a more decoupled state by improving areas of the existing code. Precedent to: #2743
馃洜 Acceptance Criteria
Centered effort around the class instantiating the channel setup AsyncMessageChannel
Some improvement ideas:
Use different methods to postMessages from figma.ui vs parent
isInFigmaSandbox needs a better name
Include error handling for prod / dev (including Sentry if necessary)
Group all types in the same files and area of the project
attachMessageListener can be further split out and tested
The text was updated successfully, but these errors were encountered:
馃摎 Context
Before replacing the current asynchronous messaging setup, we could get it in a more decoupled state by improving areas of the existing code. Precedent to: #2743
馃洜 Acceptance Criteria
Centered effort around the class instantiating the channel setup AsyncMessageChannel
Some improvement ideas:
postMessages
fromfigma.ui
vsparent
isInFigmaSandbox
needs a better nameattachMessageListener
can be further split out and testedThe text was updated successfully, but these errors were encountered: