Re:React has grown beyond its original promise and it's caus...
by Stoids on Friday February 09, 2024 @12:23PM
(#39317487)
ts-pattern has been a decent band-aid for the lack of native pattern matching, but obviously has downsides that could be avoided if it was built into the language.
https://github.com/gvergnaud/ts-pattern