Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: change deprecated React.SFC to React.FC #857

Closed
wants to merge 1 commit into from
Closed

fix: change deprecated React.SFC to React.FC #857

wants to merge 1 commit into from

Conversation

ronparkdev
Copy link

@ronparkdev ronparkdev commented Sep 28, 2022

React.SFC was deprecated from React 16 version, and React 18 version was completely removed.
Therefore, Compile error are occurring in React 18 and typescript environment.

So, I change to React.FC which is proposed way in the official document

related issue : #855

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 47ffb73:

Sandbox Source
react-sortable-hoc-starter Configuration

@ronparkdev ronparkdev closed this by deleting the head repository Jan 26, 2024
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.

None yet

2 participants