Functional data types for TypeScript development
Functional data types for TypeScript development
I would love some feedback on this library I'm making. I've dabbled in FP for years and my journey has led me to create this library. As a front end dev, I see a lot of complexity in code bases as data is wrangled into various shapes before finally getting turned into ui elements. An API request gives you back a dumb object, and if you don't turn that object into something "smart", inevitably it becomes complicated, hence the ubiquity of state managers like Redux and it's ilk. I've had great success in functionally modeling my data using the TS/JS class keyword, and I'm trying to make some of that power accessible to anyone who wants to use it. I believe that if you model your state properly, you can avoid the need for external state management completely in most cases. I started with a Bool monad because it was simple, and a Maybe monad because most of the `if` statements I see in code are for checking whether data is present or not. I think the next item will be a queue or deque. Thanks for checking it out.
Share cardActual performance
Launch Intel predictions
Analyze your own launch →Incorrect prediction on native model
Similar products
Nullable Types in TypeScript
Brainfuck interpreter using TypeScript types
Wordle Implemented in TypeScript Types
A C-style language interpreter implemented by the TypeScript types
Extra Types for TypeScript
Generate TypeScript Types from JSON Samples
TypeScript types that conform to JSON schemas without code generation
CLI util that converts TypeScript types to Swift/Kotlin types
CSS Parser in TypeScript Types
TypeScript Editor that generates structured forms from TypeScript types