Skip to content

Add support for function components using Hooks#28

Merged
einazare merged 1 commit intocreativetimofficial:dev-mainfrom
skkeeper:forward_ref
Dec 10, 2020
Merged

Add support for function components using Hooks#28
einazare merged 1 commit intocreativetimofficial:dev-mainfrom
skkeeper:forward_ref

Conversation

@skkeeper
Copy link

Adds support for functional components by passing them as React.forwardRefs.

See issue #20 .

@skkeeper skkeeper changed the title Add support for forward ref components Add support for function components using Hooks Nov 21, 2019
@einazare
Copy link
Contributor

einazare commented Nov 21, 2019

Hello there, @skkeeper ,

By looking at your code, it seems that it should work properly.
I will take a look at it in a few days and see if it can be merged with the plugin.
Please leave it open.

Best,
Manu

@skkeeper
Copy link
Author

Any news on this? Functional components have gotten quite popular in the last year since this issue has been created and not supporting will limit the usage of the component.

@Crael94
Copy link

Crael94 commented Nov 9, 2020

Please can you do something!

@einazare einazare changed the base branch from master to dev-main December 10, 2020 08:20
@einazare einazare merged commit fd5e3ea into creativetimofficial:dev-main Dec 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants