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
Hello, we are happy re-frame users for many years.
We are running tests on event handlers, subs, and pure components in jvm.
This is some reflection - you may throw away if not relevant.
Recently we started using macros on top of rf/reg-sub rf/reg-event-fx to define subs and event handlers as vars
to track deps explicitly and write a little bit less code.
Here is an idea. Because event-handlers and subscriptions are pure cljc functions
why not define and dispatch them as functions (or vars with meta) in re-frame.
Without any special registry.
@niquola
I take your point that this approach is certainly possible. But I'm very comfortable using keywords for identities. After all, that's the reason they are in the language.
Yeah, I do understand what you are saying, but when it comes to these kinds of decisions, the boat has sailed years ago. A disruptive change would have to bring a massive upside.
Hello, we are happy re-frame users for many years.
We are running tests on event handlers, subs, and pure components in jvm.
This is some reflection - you may throw away if not relevant.
Recently we started using macros on top of rf/reg-sub rf/reg-event-fx to define subs and event handlers as vars
to track deps explicitly and write a little bit less code.
Here is an idea. Because event-handlers and subscriptions are pure cljc functions
why not define and dispatch them as functions (or vars with meta) in re-frame.
Without any special registry.
73's niquola
The text was updated successfully, but these errors were encountered: