Confused about the removal of the action function #281
Replies: 2 comments
-
Yes
Send PR there
Do you want to create a |
Beta Was this translation helpful? Give feedback.
-
Actions API will be added to |
Beta Was this translation helpful? Give feedback.
-
Im a bit confused why the
action()
function was removed in the0.10.0
Release.The Release only states that it was removed but not why.
I suppose because the functionality can also be achieved through normal functions?
Rewriting the actions as normal functions is not a big problem.
But the removal also breaks every function that was listening for a specific action.
Also the
@nanostores/logger
does depend on the old action style.I can't see a way to achieve the same behaviour with the "normal functions" approach.
Beta Was this translation helpful? Give feedback.
All reactions