Before you dive into learning React, it makes good sense to master the common JavaScript patterns that are heavily used in virtually every React app.
blog.logrocket.com