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

Warning: Link: Support for defaultProps will be removed from function components in a future major release. #16

Closed
teplostanski opened this issue May 31, 2024 · 1 comment

Comments

@teplostanski
Copy link
Contributor

I see this message in the console. React 18.3.1

Warning: Link: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
    at Link (file:///data/data/com.termux/files/home/imonline/node_modules/ink-link/dist/index.js:28:43)
    at ink-text
    at Text (file:///data/data/com.termux/files/home/imonline/node_modules/ink/build/components/Text.js:7:32)
    at ink-box
    at file:///data/data/com.termux/files/home/imonline/node_modules/ink/build/components/Box.js:5:27
    at ink-box
    at file:///data/data/com.termux/files/home/imonline/node_modules/ink/build/components/Box.js:5:27
    at Copyright (file:///data/data/com.termux/files/home/imonline/dist/components/copyright.js:25:29)
    at App (file:///data/data/com.termux/files/home/imonline/node_modules/ink/build/components/App.js:17:16)
@teplostanski
Copy link
Contributor Author

PR #17

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

No branches or pull requests

2 participants