importing and compiling react