DEV Community

Discussion on: Getting started with React

Collapse
 
parkadzedev profile image
Michael Parkadze

Great article Ciara, the only thing I have input on while going over the article is regarding the person component. So a minor change that does a huge difference in bigger application is instead of importing the Person.js compoenent as such './Person/Person.js' is changing the name of the component file to index.jsx (as it is a react component and not js code.) and by doing that you can now import the Person component as such './Person'.

I find this to be one of the smaller adjustments you can make in your react workflow that benefits you the most as the developer.