import:
import React, { Component } from 'react';
Destructuring:
let z, {b} = {a: 1, b: 2, c: 3}
it looks that they follow same syntax.
but in second one, z will be undefined
instead of {a: 1, b: 2, c: 3}
.
so import syntax is different than es6 Destructuring? How their syntax are related to each other?