Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
KasMA1990
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
3 ms
·
1.
▲
by
KasMA1990
4y ago
a) there are plenty of cases where using e.g. a builder to construct a stateless component is better than having a straight up function. b) it's easy to have a function producing HTML that isn't ready for re-use in your applicatio
2.
▲
by
KasMA1990
4y ago
Yeah, if you do mapping all over like that, it can get really bad. The solution, I feel, is to avoid the mapping by pushing more things closer to that central place (as outlined in the article). At least this works well for us when building
3.
▲
by
KasMA1990
4y ago
For this post, stateful and stateless refers to how the component looks from the point of view of Elm. It's true that the DOM is very stateful, even when we're writing "stateless" Elm code though. But this is something o
4.
▲
Understanding UI Components in Elm
(humio.com)
50 points
by
KasMA1990
4y ago
|
43 comments