You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Warning: BasicScrollToBottomCore: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead. #140
I receive following warnings when use this component; My react version is 18.3.1;
Warning: BasicScrollToBottomCore: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
Warning: Composer: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
Warning: BasicScrollToBottom: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
Warning: Panel: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
Warning: EventSpy: Support for defaultProps will be removed from function components in a future major release. Use JavaScript default parameters instead.
I found they are caused by following legacy usage of defaultProps:
example: