Skip to content

Stateless function components in JSX - #5596

Merged
Ryan Cavanaugh (RyanCavanaugh) merged 12 commits into
microsoft:masterfrom
RyanCavanaugh:statelessFunctionComponents
Dec 1, 2015
Merged

Ryan Cavanaugh (RyanCavanaugh) merged 12 commits into
microsoft:masterfrom
RyanCavanaugh:statelessFunctionComponents

Conversation

@RyanCavanaugh

Copy link
Copy Markdown
Member

In this PR:

There will be a sister PR to this one to DefinitelyTyped to add the new types to react.d.ts

Comment thread src/compiler/checker.ts Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Map<ObjectType>

Comment thread src/harness/harness.ts Outdated

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fileName, also use a for..of if you don't need a forEach

@Shadowfaxenator

Copy link
Copy Markdown

#5675

@gmosx

Copy link
Copy Markdown

Will this get included in TypeScript 1.7? Alternatively, any ETA?

@DanielRosenwasser

Copy link
Copy Markdown
Member

This is slated for TypeScript 1.8. TypeScript 1.7 should be coming out fairly soon.

Ryan Cavanaugh (RyanCavanaugh) added a commit that referenced this pull request Dec 1, 2015
@RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh) merged commit bc92e4e into microsoft:master Dec 1, 2015
@RyanCavanaugh
Ryan Cavanaugh (RyanCavanaugh) deleted the statelessFunctionComponents branch December 1, 2015 22:51
@microsoft Microsoft (microsoft) locked and limited conversation to collaborators Jun 19, 2018
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.

5 participants