Renaming Unsafe Lifecycle Methods
Over a year ago, we announced that unsafe lifecycle methods are getting renamed:
componentWillMount→UNSAFE_componentWillMountcomponentWillReceiveProps→UNSAFE_componentWillReceivePropscomponentWillUpdate→UNSAFE_componentWillUpdate
Deprecating javascript: URLs
URLs starting with 
javascript: are a dangerous attack surface because it’s easy to accidentally include unsanitized output in a tag like <a href> and create a security holeDeprecating “Factory” Components
Before compiling JavaScript classes with Babel became popular, React had support for a “factory” component that returns an object with a 
render method:New Features
Async act() for Testing
Performance Measurements with <React.Profiler>
Reference: Reactjs Blog
No comments:
Post a Comment