-
Notifications
You must be signed in to change notification settings - Fork 1k
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
About defaultProps and propTypes #2
Comments
We've just started like that but I static members look nicer, will switch to that, thanks! |
eirikaho
referenced
this issue
in eirikaho/primereact
Oct 29, 2019
…verride-virtual-scroll-height to master * commit 'bf7f8cc0e5dc73e5d0454cce3582ff07176325c1': virtual scroller height set to max of virtualScrollHeightOverride or totalCollapsedHeight virtual scroller height set to max of virtualScrollHeightOverride or totalCollapsedHeight virtual scroller height set to max of virtualScrollHeightOverride or totalCollapsedHeight virtual scroller height set to max of virtualScrollHeightOverride or totalCollapsedHeight
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hello,
According to me defaultProps and propTypes as static members are nicer than assigning outside of the class. Do you have a specific reason to go like that?
The text was updated successfully, but these errors were encountered: