When the pipeline operator was first proposed, developers seemed very excited about it. I was confused at the excitement because it’s just the threader macro in ClojureScript.
Optional Chaining Operator
The optional chaining operator cleans up all checks that your properties exist when navigating an object. In ClojureScript, we would use a map and just use
get-in. And if we have an object, we use Google Closure’s
There are plenty of new ways of defining, destructuring, and working with objects. Most of these are irrelevant to ClojureScript because we use maps instead of objects and have a powerful API to work with data. The new
Object.values are just
Generators and Async/Await