eui
eui copied to clipboard
[Spike] Investigate flagging dynamic styles passed to `css` prop
The purpose of this spike is to investigate how to flag dynamic styles passed to css prop.
Options
- Monkey patch
insertfunction. We can do it through ourEuiProvider, overridingcache.insertfunction. We can keep a map of styles and on having inserted the same style again, we can verify whether the saved value is the same asserialized.styles. If not, we can flag it as a dynamic style. PoC - ...
Acceptance criteria
- [ ] Different options are considered and added to the "Options" section
- [ ] PoC and / or documentation is created around each option's advantages, disadvantages, feasibility and limitations