Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork1.1k
Open
Description
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
Metadata
Metadata
Assignees
Labels
No labels