Accessing Nested Objects in JavaScript

  • tldr; safely access nested objects in JavaScript in a super cool way.
  • One of those things is the confrontation with this error when you try to access a nested object, – – Most of the times when we’re working with JavaScript, we’ll be dealing with nested objects and often we’ll be needing to access the innermost nested values safely.
  • But, for some reason, if our user’s personal info is not available, the object structure will be like this, – – Now if you try you access the name, you’ll be thrown Cannot read property ‘name’ of undefined.
  • The usual way how most devs deal with this scenario is, – – This is okay if your nested structure is simple, but if you have your data nested 5 or 6 levels deep, then your code will look really messy like this, – – There are a few tricks…
  • Unfortunately, you cannot access nested arrays with this trick – – Array reduce method is very powerful and it can be used to safely access nested objects.

Accessing nested objects in JavaScript without getting choked by ‘cannot read property of undefined’ error
Continue reading “Accessing Nested Objects in JavaScript”

Check out the first people on our lineup: #ReactJS #ReactAmsterdam

Check out the first people on our lineup:  #ReactJS #ReactAmsterdam

  • React Amsterdam is a celebration of good things coming together: – – React that rocks and spring in Amsterdam that blossoms – – A full-day, two-track conference on all things React, gathering Front-end and Full-stack developers across the globe in the tech heart of Europe.
  • Mark your calendars for the biggest React community event.
  • Check out the the after-movie and mood videos from React Amsterdam 2017 edition: – – Check out our YouTube channel for more talk recordings of previous editions and meetups.

React Amsterdam is a full day two-track conference of all things React, gathering Front End developers across the globe in the tech heart of Europe.
Continue reading “Check out the first people on our lineup: #ReactJS #ReactAmsterdam”

The Year of GraphQL – Edge Coders – ReactJS News – ReactJS News

Top #develop The Year of GraphQL – Edge Coders – ReactJS News  via @ReactJS_News #JavaScript

  • I am now creating another course to re-build the UI of BootName.com and actually use the GraphQL API that I built in this last course.
  • I’ve created 3 other courses before the GraphQL/Relay course, but honestly, I was still figuring things out.
  • The course was a big success to me I think it’s my first well-done Pluralsight course.
  • One thing led to another and I found myself creating a Pluralsight course about GraphQL and Relay .
  • The person who’s most qualified to write the book, Lee Byron , the maintainer of GraphQL, was too busy doing the awesome things he does.

I’ve heard about GraphQL a little over a year ago, and it immediately grabbed my full attention. I’ve been a frustrated maintainer and user… @ReactiveConf: Cool read: The Year of #GraphQL: #ReactJS
@ReactJS_News: New #Building The Year of GraphQL – Edge Coders #ReactJS via @ReactiveConf #Applications

Continue reading “The Year of GraphQL – Edge Coders – ReactJS News – ReactJS News”

The Year of GraphQL – Edge Coders – ReactJS News

New #Building The Year of GraphQL – Edge Coders  #ReactJS via @ReactiveConf #Applications

  • I am now creating another course to re-build the UI of BootName.com and actually use the GraphQL API that I built in this last course.
  • I’ve created 3 other courses before the GraphQL/Relay course, but honestly, I was still figuring things out.
  • One thing led to another and I found myself creating a Pluralsight course about GraphQL and Relay .
  • The course was a big success to me I think it’s my first well-done Pluralsight course.
  • The person who’s most qualified to write the book, Lee Byron , the maintainer of GraphQL, was too busy doing the awesome things he does.

I’ve heard about GraphQL a little over a year ago, and it immediately grabbed my full attention. I’ve been a frustrated maintainer and user… @ReactiveConf: Cool read: The Year of #GraphQL: #ReactJS

Continue reading “The Year of GraphQL – Edge Coders – ReactJS News”

The Year of GraphQL – Edge Coders

Cool read: The Year of #GraphQL:  #ReactJS

  • I am now creating another course to re-build the UI of BootName.com and actually use the GraphQL API that I built in this last course.
  • I’ve created 3 other courses before the GraphQL/Relay course, but honestly, I was still figuring things out.
  • The person who’s most qualified to write the book, Lee Byron , the maintainer of GraphQL, was too busy doing the awesome things he does.
  • One thing led to another and I found myself creating a Pluralsight course about GraphQL and Relay .
  • The book made me more aware of that, so I decided to create another Pluralsight course that focuses 100% on GraphQL and also covers DataLoader .

I’ve heard about GraphQL a little over a year ago, and it immediately grabbed my full attention. I’ve been a frustrated maintainer and user…
Continue reading “The Year of GraphQL – Edge Coders”