Skip to content
This repository was archived by the owner on Oct 12, 2022. It is now read-only.

Update jsx sample with current react version, modern types - #144

Merged
Mohamed Hegazy (mhegazy) merged 1 commit into
masterfrom
update-jsx-sample
Aug 23, 2017
Merged

Update jsx sample with current react version, modern types#144
Mohamed Hegazy (mhegazy) merged 1 commit into
masterfrom
update-jsx-sample

Conversation

@weswigham

Copy link
Copy Markdown
Member

This sample came to my attention since our RWC test for it had an error introduced in 2.4/2.5, caused by old react definitions making the construct it was using not-typesafe. Rather than accepting the error, I thought it better to update the sample with a current version of react.

This PR removes TSD and uses Types (@types), updates the readme to reference the npm commands, and updates the project to use react 15 (and, by extension, react-dom).

@msftclas

Wesley Wigham (@weswigham),
Thanks for your contribution as a Microsoft full-time employee or intern. You do not need to sign a CLA.
Thanks,
Microsoft Pull Request Bot

@mhegazy
Mohamed Hegazy (mhegazy) merged commit ab2480f into master Aug 23, 2017
@mhegazy
Mohamed Hegazy (mhegazy) deleted the update-jsx-sample branch August 23, 2017 00:07
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.

3 participants