Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
the_duke
on July 2, 2019
|
parent
|
context
|
favorite
| on:
Svelte is the most beautiful web framework I've se...
You don't need a one line component, you can just declare an extra variable before your main JSX.
A redundant extra component is bad for performance.
manigandham
on July 2, 2019
[–]
I know. That's what the poster didn't like so I suggested an alternative.
Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
A redundant extra component is bad for performance.