We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
在config改变的时候,能重新初始化,基于某些场景,一个组件改变后,需要改同一个timePicker的默认时间,以及时间范围等等选项
The text was updated successfully, but these errors were encountered:
初衷并不是做成无状态组件,组件内部自己控制picker的各种状态,config仅为初始化参数,动态变更可以可以考虑动态销毁组件重新生成
Sorry, something went wrong.
动态初始化,并不会把它改成无状态组件,只是config改变的时候会再次初始化而已,初始化之后的各种状态也是由组件自己控制,antd的日期组件,也是可以动态初始化的,动态销毁组件这种形式,无疑会无端增加代码复杂度
No branches or pull requests
在config改变的时候,能重新初始化,基于某些场景,一个组件改变后,需要改同一个timePicker的默认时间,以及时间范围等等选项
The text was updated successfully, but these errors were encountered: