bsimmons
06/07/2021, 11:38 AM<div>
across the screen using top
and left
css properties on mousedown. Using kotlin-react and styled components takes around 1000 times longer (most of the time from recalculating styles) than a pure JS solution that simply changes the inline <div>
style.)Robert Jaros
06/07/2021, 1:57 PMdiv {
attrs["style"] = js { top = "10px" }
}
bsimmons
06/07/2021, 2:33 PMRobert Jaros
06/07/2021, 2:39 PMbsimmons
06/07/2021, 3:11 PM