Y
Hacker News
new
|
ask
|
show
|
jobs
by
cporios
696 days ago
Exactly, which is the entire reason the array pattern exists, and yet the article forgets to mention that entirely.
1 comments
baq
696 days ago
Still sounds like a component?
link
recursive
696 days ago
You're arguing for
more
abstraction. The article is arguing for less. You're going in the opposite direction.
link
baq
696 days ago
No, not really. I'm arguing for putting a list of static html tags in a component instead of generating html from a static data structure.
If that component is not going to be reused anywhere or tested in isolation, absolutely inline it.
link