Day 33 of 100 Days Of Code

Image of one third

Day 33: August 26, Sunday

Today ‘s Progress: I continued work on React.js Introduction to the React Challenges.

Thoughts: Again the React challenges have had very little relevant examples, and I’m not the only one struggling with this because now I see there are a few more students asking for help. I read the React Docs and did a bunch of google searches. I’m pretty sure I don’t like React too much. Also the sand box for react is problematic.

Resources used:

//Override Default Props
const Items = (props) => {
  return <h1>Current Quantity of Items in Cart: {props.quantity}</h1>
}
Items.defaultProps = {
  quantity: 0
}
class ShoppingCart extends React.Component {
  constructor(props) {
    super(props);
  }
  render() {
    { /* change code below this line */ }
    return (
      <Items quantity = {10} />);
    { /* change code above this line */ }
  }
};

I’m really sure I don’t like react at this point.

Link(s) to work

  1. continued work on Introduction to the React Challenges learning React.js.

Introduction to the React Challenges

  • PassedWrite a React Component from Scratch
  • PassedPass Props to a Stateless Functional Component
  • PassedPass an Array as Props
  • PassedUse Default Props
  • PassedOverride Default Props

All code is in GitHub FCC-Introduction to the React Challenge.

Written on August 26, 2018