DEV Community

Aaron
Aaron

Posted on

Phase-2-FlatIron

The reason why phase-2 was impactful was because it allowed us to make our website still a one page application but allowed us to further practice our html, css, and javascript.

At the very beginning hearing about React being able to have different components so I know what file does what individually allows any programmer/coder where there potential syntax error may lie because it tells you where specifically the error is coming from. Within React we learned about components, props, lists, keys, states and events. When learning javascript from phase-1 and further learning the skills within React I have used, understanding props and getting the information I need from the data I was working it. I felt more comfortable mapping throughout the objects or an array of objects I was working with. At first again I did struggle but then after practicing with different labs I was able to understand how to do the mapping and it made it a little bit easier because I went back and kept practicing what I was really struggling with.

Unlike JavaScript having on j.s file we had components. When using coming and having the ability to know what components are doing what you can see whats happing within one file. The unique thing about working with react we have to create a state in the app and having to send props to different children’s and its parents in order to send functionality to different components. Doing this was very similar to callback functions to other components. Doing this does get tricky because the user has to understand how the tree of the component flows.

Towards the end of learning React we learned how to do routes so when the user presses on lets say the login feature, the about, products or cart depending what the website has it allows us to redirect the user to a different page on the application making it easier to pass information. Overall React is a great library for someone who knows Javascript because it allows the user flexibility’s.

Top comments (0)