Closed
Description
New Cool Features
- Pure Functions as Stateless Components https://github.com/reactjs/react-future/blob/master/01%20-%20Core/03%20-%20Stateless%20Functions.js Minimal implementation of stateless components #4587
- Allow arbitrary attributes on dashed tags i.e. custom elements. (@jimfb) see Support arbitrary attributes on elements with dashes in the tag name. #3067
- Fix the error utils guard. See ReactCompositeComponentError-test (Mostly affects FB internals but ties into better error handling in general.) (@sebmarkbage)
- Add trusted key for ReactElements? [RFC] Trusted sources for React elements. #3583 / Use a Symbol to tag every ReactElement #4832 (@leebyron / @sebmarkbage)
Package changes
- Build
SeparatePackages for react isomorphic, dom and server rendering [Still need to handle https://github.com/How to use Perf and TestUtils #4279 ] (@zpao) - Deprecate the dom renderer in the react package. Replace with separate package. Warnings if used. (@zpao)
- Ship all React addons as separate packages.
Remove from react repo. (Possibly kill already deprecated ones like classSet)Build with warnings if existing package is used? (@zpao) - End-of-life of react-tools. Clean up legacy in react-native and in the react repo (@zpao)
- Figure out react-native needs for
@providesModule
React (@amasad, @sebmarkbage)
- Figure out react-native needs for
- Ship index.ios.js with react so that react-native components can immediately start using the react package. (@sebmarkbage)
- Decouple dependencies between React DOM and React Isomorphic, except for
currentOwner
which React DOM still needs to set on React Isomorphic. (@sebmarkbage) See comment in Reorganize Src Directory for Isomorphic React Package #3866 - Browser build for ReactDOM (@zpao)
Kill Deprecations from 0.13
-
Object.freeze
props increateElement
in DEV, remove old props mutation warnings. (@jimfb) see Freeze ReactElement.props in dev mode #4172. - Make
React.addons.createFragment
return a toArray from objects (@spicyj) - Kill
_isReactElement
(@spicyj) - Kill
ComponentClass.type
(@jimfb) see Kill .type (was deprecated in 0.13, to be removed in 0.14) #4009 - Clean up the remaining owner/context stuff (@jimfb)
New Deprecations
- Deprecate setProps/replaceProps and replace with external ReactRenderer package, don't forget to include replaceProps in the renderer API and ship the package. (@jimfb, see Make events propagate through shadow DOMs. #4150)
- Deprecate getDOMNode (replaced with React.findDOMNode) (@spicyj)
- Expose DOM component refs as the actual DOM nodes. Expose refs on DOM Components as Direct Handles to the actual DOM Node #3223 (@spicyj)
- Warnings on using a DOM Component's ref's getDOMNode or props Expose refs on DOM Components as Direct Handles to the actual DOM Node #3223 (@spicyj)
- Clean up remainders of context (@jimfb)
Probably not
- Deprecate replaceState? Deprecate replaceState #3236 Needs Immutable.js solution. (@sebmarkbage)
- Deprecate isMounted? Docs - Recommendations for isMounted() alternative #3417 Needs Promise solution. (@sebmarkbage)
- Detect event target through
event.path
if available. E.g. in shadow DOM. (@jimfb) see Make events propagate through shadow DOMs. #4150. (Disabled in Disable event.path handling #4585)
Metadata
Metadata
Assignees
Labels
No labels