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
Currently the guide has for react components the state type defined up with the props. Instead, I propose its changed to be flipped a bit. For example ->
typeownProps={}constinitialState={isOpen: false}classModalextendsReact.Component<ownProps,typeofinitialState>{
state =initialState
this better follows the repositories philosophy of implementation being the source of truth
The text was updated successfully, but these errors were encountered:
@shaun-sweet sure go for it. Please try to keep as much consistency as possible in terms of guide structure and naming/casing conventions across the examples.
Currently the guide has for react components the state type defined up with the props. Instead, I propose its changed to be flipped a bit. For example ->
this better follows the repositories philosophy of implementation being the source of truth
The text was updated successfully, but these errors were encountered: