It is advised not to keep every line of code in single file. Make use of components... that's why we are using React :-)
But we have quite a few functionalities in Practice.js that can be separated out
Create a new component wherever needed and optimize the code.