I have a feeling this will be useful at some point.
const Details = props => {
return (
<pre>
<code>{JSON.stringify(props, null, 4)}</code>
</pre>
)
}
update: it’s been a year and that has not been useful once😂
Managing state
- useState
- Context - explained nicely in this video. also shows how you can useState & useContext
- Redux