-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Open
Labels
enhancementNew feature or requestNew feature or requesthooksChanges to built-in hook packageChanges to built-in hook package
Milestone
Description
Background
I'm building a prototype Dioxus web app using absolute positioning. There are many divs 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 finishes but before painting starts. React has useLayoutEffect. If Dioxus had this, it would seem like the ideal thing to use.
Feature Request
Please add useLayoutEffect for the web renderer for Dioxus.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthooksChanges to built-in hook packageChanges to built-in hook package