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
We should be able to pass click$ directly to the onclick prop, removing the need for the intermediate onclick observable. To do this, we can simply detect if a subject is being passed, and set the event handler within the createElement code.
The text was updated successfully, but these errors were encountered:
A current antipattern in the code base is something like this:
We should be able to pass
click$
directly to theonclick
prop, removing the need for the intermediate onclick observable. To do this, we can simply detect if a subject is being passed, and set the event handler within the createElement code.The text was updated successfully, but these errors were encountered: