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
GitHub
GitHub - mobily/ts-belt: 🔧 Fast, modern, and practical utility libr...
🔧 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
GitHub - gvergnaud/ts-pattern: 🎨 The exhaustive Pattern Matching li...
🎨 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...
1 Reply
Unknown User
Unknown User3y ago
Message Not Public
Sign In & Join Server To View
Want results from more Discord servers?
Add your server