Javascript – Console log in React function components for beginner
My problem The code is simple. When you switch to any new button, it will log the updated sourceType, then "My Log". You start off at the posts tab, then you clicked users tab, it will log "users" and "My…