import react when to use ´ code example Example: import react import React, { Component } from 'react';