VehiclesFashionRecipesBlogsHuntTravelsSportFunHandmadeITEducation
Mini-Games
x

x
zakruti.com » IT - Software » freeCodeCamp.org
Merging a Pull Request from GitHub - Live Coding with Jesse

Merging a Pull Request from GitHub - Live Coding with Jesse

FBTwitterReddit

video description

Rating: 4.0; Vote: 1
I have a pull request that needs merged. This may be basic for some people, but I thought it would be helpful to see for those who have never done it. Also, as always, Q and A at the end! . Live Site: https://catechetics.com Repo: https://github.com/fus-marcom/ci-react Trello Board for this Project: https://trello.com/b/oD4BYdZk React: https://facebook.github.io/react/ Next.js: https://github.com/zeit/next.js/ Materialize: http://materializecss.com/
Date: 2022-03-14

Comments and reviews: 2


Hi Jesse, also a good house keeping task in class components is to destructure this.props at the top of the render() method to help DRY your components (easier to read as well). i.e for Layout:
render() -
const - title, description, headerType, children- = this.props;
....
-
You can also rename while destructuring as well as target nested properties. React Router 4 provides good examples of destructuring in stateless functional components.

reply

Hi Jesse,
I might actually do a pull request. I'm a bit of a noob when it comes to GH and collaborating but will keep it simple for the initial and build it up over time.

reply
Add a review, comment






Other channel videos