Closed jantimon closed 1 month ago
The latest updates on your projects. Learn more about Vercel for Git ↗︎
Name | Status | Preview | Comments | Updated (UTC) |
---|---|---|---|---|
next-yak-benchmark | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 14, 2024 6:18pm |
yacijs | ✅ Ready (Inspect) | Visit Preview | 💬 Add feedback | Jul 14, 2024 6:18pm |
Comparing feature/jest-tests
(d92f60b) with main
(8eea888)
✅ 2
untouched benchmarks
fixes #56
this is how yak works if no compiler is used:
styled.button`color:red`;
is syntactic sugar forstyled.button(["color:red"])
therefore
styled.button`color:red`;
will render<button className="">
right now there is a bug when using constants:
as this is is syntactic sugar for
styled.button(["color:", ";"], "blue")
which will render<button className="blue">
but I believe this PR is still okay for a first round and we should try to fix the issue above in a follow up e.g. with an early return in
styled
if the first arg is an array