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
Then you could imagine a library exposing this the same way forgo-state accepts a component and returns a component with modified lifecycle methods.
Pair this with wanting click handlers to run inside the component's error boundary and we've got two examples where modifying DOM node attributes is useful.
The text was updated successfully, but these errors were encountered:
Initial discussion at #54
Parts of the discussion are copied below for context:
Initial proposal by @spiffytech
Forgo could allow libraries to implement this if component had a method to modify attributes before they're put onto the DOM. Something like:
Then you could imagine a library exposing this the same way forgo-state accepts a component and returns a component with modified lifecycle methods.
Pair this with wanting click handlers to run inside the component's error boundary and we've got two examples where modifying DOM node attributes is useful.
The text was updated successfully, but these errors were encountered: