jantimon / next-yak

🦀 Zero-runtime CSS-in-JS powered by Rust. Write styled-components syntax, get build-time CSS extraction and full RSC compatibility
https://yak.js.org
139 stars 4 forks source link

Add the NoInfer to the styled function #182

Closed Mad-Kat closed 1 month ago

Mad-Kat commented 1 month ago

This fixes #180

When we had the issue previously #104, I fixed it only for the case where the styled proxy was used on native elements. This PR adds the NoInfer also to the wrapping API of the styled function.

codspeed-hq[bot] commented 1 month ago

CodSpeed Performance Report

Merging #182 will not alter performance

Comparing fix/prop-inference-when-wrapping-component (9294798) with main (e99a873)

Summary

✅ 2 untouched benchmarks