Blog100.8K views791 votes0 replies3,585 following
Safe Nested Access in JavaScript: Lodash _.get vs Optional Chaining
Use Lodash _.get to read deeply nested properties without TypeErrors, but know when native optional chaining is the lighter choice.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Use Lodash _.get to read deeply nested properties without TypeErrors, but know when native optional chaining is the lighter choice.