Recently, I stumbled upon some code that looks like this:
import React, { Component } from 'react';
I'm curious to know what sets it apart from this syntax:
import { React, Component } from 'react';
In my coding experience, I seldom see anything written outside the curly braces.