Skip to content

itskolli/reactjs-new-features

Repository files navigation

React updates after version 15

2019-02-13

  • Returning multiple elements from components with fragments - 16
  • Error boundaries - 16
  • Returning strings and numbers from components - 16
  • Cancelling setState() to avoid re-rendering - 16
  • Avoiding prop drilling with the official context API - 16.3
  • Updating state based on props with getDerivedStateFromProps() - 16.3
  • Re-rendering function components on props change with React.memo(), React.lazy() - 16.6
  • Easier access to context in class components with contextType - 16.6
  • React hooks useContext, useEffect, useState - 16.8
  • Additional hooks useReducer, useCallback, useMemo, useRef - 16.8

About

Repo for ReactJS new features in and after version 16

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published