Fork me on GitHub
#humbleui
<
2022-05-01
>
grounded_sage09:05:31

I've been mixing in core.async and noticed that Humble wants everything to be on main thread for UI. Also getting what seems like very Humble specific faults crashing the JVM. How does humble also handle the repaints on state change. What triggers it?

Niki12:05:32

Yes, window interactions should happen on main thread. Crashes are possible, please report them on github

Niki12:05:29

As for repaint, app has to trigger them. In the demo app, -event on components return boolean, if it’s a yes, repaint is requested. Will probably have a better answer once I figure out state model