In this post, we are going learn how to validate file type before uploading in React JS. Uploading files is a common task in many web apps