-
Notifications
You must be signed in to change notification settings - Fork 5
Open
Description
Currently, if you draw anything, you can pass in style="red", for example. If you happen to build a plot widget with component classes you get a Style object which you need to change to a string so that Canvas can parse that back into a Style object. Also, this parsing happened on each render. So a style cache was implemented so that we didn't need to do that, but now we have to check the cache. Wouldn't it be much easier (and faster) to just not accept strings? But only Style objects?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels