Closed jd-carroll closed 11 months ago
Here is a proposal of what I think would be a good first step towards CSP compatible hot toast 😄
I'm not 100% on why casting a React.CSSProperties to goober.CSSAttribute is necessary (or how it even works), but it does seem to be...
React.CSSProperties
goober.CSSAttribute
May want to examine that a bit more, I suspect there is something I am missing that could be problematic.
However, if this does work, then the great news is that there are no breaking changes!
Fixes #138
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Here is a proposal of what I think would be a good first step towards CSP compatible hot toast 😄
I'm not 100% on why casting a
React.CSSProperties
togoober.CSSAttribute
is necessary (or how it even works), but it does seem to be...May want to examine that a bit more, I suspect there is something I am missing that could be problematic.
However, if this does work, then the great news is that there are no breaking changes!
Fixes #138