Fork me on GitHub
#reagent
<
2019-06-20
>
Nolan22:06:07

so i've noticed a discrepancy between reagent and react. while react guarantees that a ref will be fully mounted in component-did-mount, i am noticing strange race conditions in reagent. particularly where if i wait 100 milliseconds after component-did-mount the css will change the size of an element, but in component-did-mount the css has not yet fully taken effect. in the past i was told this was a problem with reagent's async rendering model, and that i should switch to hx. anyone else have any ideas about this?

lilactown22:06:30

How are you changing the size of the element exactly?