I'm building a prototype Dioxus web app using absolute positioning. There are many <div>s that need to know their dimensions to prevent overlaps. (You could imagine that I'm using a force-directed layout if it helps visualize what I'm doing, but I'm not actually using that particular layout algorithm.)
For this application, it would be ideal to wait until layout finished but before painting starts. Agree?
React has useLayoutEffect. If Dioxus had this, it would seem like the ideal thing to use. Agree?
If the above makes sense, what would some good ways to proceed given the lack of useLayoutEffect? Perhaps using use_effect? Some other way?
Does the Dioxus team have any thoughts about implementing useLayoutEffect?