Functional approach for concise code
Hello, Soon Im gonna rewrite my app with T3 stack and I just wonder about approaching backend/fronted Logic with more functional paradigms. Originally I wanted to use ramdajs but I read its problematic with typescript.
Yesterday I found two libraries that seems very promising but wanted to hear if someone has any opinions about them and in general about FP data transformation handling.
https://github.com/mobily/ts-belt
https://github.com/gvergnaud/ts-pattern
Yesterday I found two libraries that seems very promising but wanted to hear if someone has any opinions about them and in general about FP data transformation handling.
https://github.com/mobily/ts-belt
https://github.com/gvergnaud/ts-pattern
GitHub
Fast, modern, and practical utility library for FP in TypeScript. - GitHub - mobily/ts-belt:
Fast, modern, and practical utility library for FP in TypeScript.
GitHub
The exhaustive Pattern Matching library for TypeScript, with smart type inference. - GitHub - gvergnaud/ts-pattern:
The exhaustive Pattern Matching library for TypeScript, with smart type infer...