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
I'm not a maintainer of Kea, although I have been using it a decent amount in side projects.
Connecting logics is where you really want to leverage connect. For logics that are expected to be consumed by other logics, I have started writing a custom logic builder to handle all of the necessary aspects of wiring up the logic. You can see this issue for an example: #160
Hey @venkatd , indeed as Tanner wrote, you should look at the connect docs to learn more about connecting logics to share state. It should all work quite seamlessly. If the other logic is mounted, you can also access it directly with just otherLogic.values.something, but connecting is somewhat cleaner.
Closing this now. Feel free to comment and/or reopen if you have any followup questions.
Hi! Looks like a very interesting library and was curious how you would handle accessing shared state in a logic.
For example, we might have a logic called organizationSettings that many other logics may want to access in actions, listeners, etc.
I have not yet given keajs a try so just asking conceptually :)
The text was updated successfully, but these errors were encountered: