om

Please ask the channel first, not @dnolen directly!
eraserhd 2018-05-29T15:47:46.000610Z

How does one troubleshoot Om not updating for a state change?

matthavener 2018-05-29T20:42:39.000486Z

@eraserhd om.next or om.core?

eraserhd 2018-05-29T20:43:52.000546Z

Om.next.

eraserhd 2018-05-29T20:44:31.000759Z

Not using the IQuery stuff, though.

matthavener 2018-05-29T20:45:40.000669Z

doesn’t that just re-render the whole root every change then? or you’re calling set-state! ?

eraserhd 2018-05-29T20:46:52.000347Z

I am calling update-state! in the component that's introduced the trouble, but otherwise the state is a mapgraph database.

eraserhd 2018-05-29T20:47:31.000213Z

The component is a clone of material UI's drop-down menu, designed to allow loading the options asynchronously.

eraserhd 2018-05-29T20:48:16.000015Z

The problem I'm having specifically is that, if I wait for the options to load while it is open and select one that loaded, the UI doesn't refresh.

eraserhd 2018-05-29T20:48:58.000254Z

If I select one that existed before, it does refresh. I've added printlns which tell me that in both cases I'm updating the data correctly.