TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Show HN: Immutable and type-checked state and actions for Redux

20 pointsby gcantiover 9 years ago

2 comments

skrebbelover 9 years ago
I really like this. I&#x27;ve been following gcanti&#x27;s work in tcomb for a while now, and I feel that it&#x27;s way too unpopular for how well designed it is. I think I should just replace all my Immutable.js records with tcomb structs, and time is the only reason I haven&#x27;t.<p>Does anyone know whether there&#x27;s any immutable collections that work well with tcomb? I&#x27;m a bit weary of adding yet another data structure thing to my code (after Immutable and Ramda), so I&#x27;d prefer to <i>replace</i> Immutable by tcomb but I&#x27;m afraid that&#x27;ll make add-to-immutable-sequence kind of operations significantly slower. Any tips?
drmajormccheeseover 9 years ago
Type checked state is known as &quot;typestate&quot;. A Google search will bring up the typestate paper.