Rust

Next Steps

  • Rust Essential Training
  • Advanced Rust: Managing Projects
  • Rust Code Challenges

React Hooks History

React Hooks

var historicalComponent = React.createClass({
  render: function () {
    return (
      <div>
        <h1>What a Journey</h1>
      </div>
    );
  }
});
class HistoricalComponent extends React.Component {
  render() {
    return (
      <div>
        <h1>What a Journey</h1>
      </div>
    );
  }
}
function NewerComponent() {
  return (
    <div>
      <h1>What a Journey</h1>
    </div>
  )
} 

Hooks allow:

  • Add State to Function Components
  • Abstract Logic into Separate Functions

use

function ComponentOfToday() {
  const [name, setName] = useState("Jason");
  
  return (
    <div>
      <h1>What a Journey, ${name}.</h1>
    </div>
  );
} 

Title Text

  • Bullet One
  • Bullet Two
  • Bullet Three
  • Bullet Four
  • Bullet Five

Copy of Light Theme - MH Template

By Moon Highway

Copy of Light Theme - MH Template

  • 616