-
Couldn't load subscription status.
- Fork 13.1k
Closed
Labels
Domain: JSX/TSXRelates to the JSX parser and emitterRelates to the JSX parser and emitterFix AvailableA PR has been opened for this issueA PR has been opened for this issueIn DiscussionNot yet reached consensusNot yet reached consensusNeeds ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.This issue needs a plan that clarifies the finer details of how it could be implemented.SuggestionAn idea for TypeScriptAn idea for TypeScript
Milestone
Description
Major changes for us:
- JSX
childrenare always installed as an array on the props object - not as trailing arguments. keywill be passed separately from other props (in place ofchildren)
Also of note:
defaultPropswill be deprecated on function components- Spreading
keywill be deprecated - String
refswill be deprecated
We might need new jsx flags, or jsxFactory flags, or something similar. Checking might need to be changed to reflect this as well depending on if/how we resolve createElement calls.
sindresorhus, agentcooper, topaxi, ixcviw7bw, limichange and 9 moreecreeth, aminpaks, soncodi, topaxi, BPScott and 2 morebrainkim, grapgrap, avindra and orta
Metadata
Metadata
Assignees
Labels
Domain: JSX/TSXRelates to the JSX parser and emitterRelates to the JSX parser and emitterFix AvailableA PR has been opened for this issueA PR has been opened for this issueIn DiscussionNot yet reached consensusNot yet reached consensusNeeds ProposalThis issue needs a plan that clarifies the finer details of how it could be implemented.This issue needs a plan that clarifies the finer details of how it could be implemented.SuggestionAn idea for TypeScriptAn idea for TypeScript