How do you cope with basically not having deeply nested components?
Ask HN: Anyone Using Elm in Production?
1–10 of 74 posts
Re: Ask HN: Anyone Using Elm in Production?
#2Your model (the central state) becomes larger and more complex, but the size of your update function doesn’t expand as much as you’d think.
Meanwhile, the benefits from type-safety, pure functions, and extremely well-designed libraries like elm/parser & elm-UI are really terrific.
Re: Ask HN: Anyone Using Elm in Production?
#3Re: Ask HN: Anyone Using Elm in Production?
#4Re: Ask HN: Anyone Using Elm in Production?
#5Rather than relying on other people's opinion a better experience for you would be to port one sub-component of your existing system to elm and see how it goes from there, while you gain trust and experience in the new system.
Re: Ask HN: Anyone Using Elm in Production?
#6What exactly does elm offer?
Re: Ask HN: Anyone Using Elm in Production?
#7Re: Ask HN: Anyone Using Elm in Production?
#8What exactly does elm offer?
Re: Ask HN: Anyone Using Elm in Production?
#9I'm curious what Elm offers that cannot be done in TypeScript.
Re: Ask HN: Anyone Using Elm in Production?
#10Yes. The deeply nested components thing isn’t an issue at all. You build “components” as stateless views. It’s fundamentally the same as building an application out of all stateless components in redux. Your model (the central state) becomes larger and more complex, but the size of your update function doesn’t expand as much as you’d think. Meanwhile, the benefits from type-safety, pure functions, and extremely well-…