Skip to content
This repository has been archived by the owner on Sep 10, 2022. It is now read-only.

Update README.md to reflect performance changes in React 16 #746

Merged
merged 1 commit into from
Oct 6, 2018

Conversation

sin
Copy link
Contributor

@sin sin commented Oct 6, 2018

As @trueadm wrote in this issue on React documentation, the future performance optimizations mentioned in readme file are already there. 🎉

Functional components in React 16 don't go through the same code path as class components, unlike in previous version where they were converted to classes and would have the same code path. Class components have additional checks required and overhead in creating the instances that simple functions don't have.

@wuct
Copy link
Contributor

wuct commented Oct 6, 2018

Thanks!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants