why do we need to import react from 'react' code example Example: import react import React, { Component } from 'react';