Skip to content
loading...

re: Why is Lodash Still Useful? VIEW POST

FULL DISCUSSION
 

Can’t you now using optional chaining instead of _get()

let obj = {
  person: {
    name: "Something"
  }
}
const name = obj?.person?.name
 

I'm not sure if it's finalized yet, but hopefully, it will be soon so that we don't need Lodash for it.

code of conduct - report abuse