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
`reactToWebComponent` creates a constructor function whose prototype is a [Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy). This acts as a trap for any property set on instances of the custom element. When a property is set, the proxy:
143
+
`reactToCanWebComponent` creates a constructor function whose prototype is a [Proxy](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Proxy). This acts as a trap for any property set on instances of the custom element. When a property is set, the proxy:
144
144
145
145
- re-renders the React component inside the custom element.
146
146
- creates an enumerable getter / setter on the instance
147
147
to save the set value and avoid hitting the proxy in the future.
148
148
- sets up an observer to listen for observable properties that are read by the component.
149
-
(Note: this is the only difference between this library and
0 commit comments