davesnx / styled-ppx

Type-safe styled components for ReScript, Melange and native with type-safe CSS
https://styled-ppx.vercel.app
BSD 2-Clause "Simplified" License
401 stars 32 forks source link

Remove all usages of Printf in native runtime #503

Closed davesnx closed 1 month ago

davesnx commented 2 months ago

Similar to what has been done in html_of_jsx or server-reason-react, we don't need to allocate the strings while concat... since it's just the output

References

https://github.com/ml-in-barcelona/server-reason-react/pull/156 https://github.com/davesnx/html_of_jsx/pull/18