Skip to content

feat(Ref): add support of createRef API#3286

Merged
layershifter merged 4 commits intomasterfrom
feat/ref-createref
Nov 19, 2018
Merged

feat(Ref): add support of createRef API#3286
layershifter merged 4 commits intomasterfrom
feat/ref-createref

Conversation

@layershifter
Copy link
Member

Fixes #3253.

handleRef()

This PR backports handleRef() utility from Stardust UI: microsoft/fluent-ui-react#459 That allows correctly work with createRef API that was introduced in React 16.3.

Update an Ref example

Before

image

After

image

@layershifter layershifter merged commit 61a9460 into master Nov 19, 2018
@layershifter layershifter deleted the feat/ref-createref branch November 19, 2018 18:02
@vanya2h
Copy link

vanya2h commented Nov 28, 2018

Seems like this patch doesn't appear in npm's semantic-ui-react@0.83.0 distribution.

@layershifter
Copy link
Member Author

Yes, this stuff was not released, yet 😭 I hope that @levithomason will cut a release on this week.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants