Git Product home page Git Product logo

react-course-curriculum's Introduction

TylerMcGinnis.com Logo

React Course Curriculum - Hacker News Clone

Info

This is the repository for TylerMcGinnis.com's "React" course curriculum project.

For more information on the course, visit tm.dev/courses/react.

Project

This is a (soft) "Hacker News" clone.

You can view the final project at tm.dev/react-course-curriculum

Solution

If you get stuck, you can view my solution by checking out the solution branch.

You will need to use React's dangerouslySetInnerHTML prop to show the HTML posts that the API gives you. We didn't cover it in the course but you can read about it here.

Approaches

There are a few different ways you can approach this, each with varying difficulties.

  • Hardest: Look at the finished project and build it. This is obviously the hardest approach but the one you'll gain the most learning from. The only thing that you'll need is the documentation for the Hacker News API.

  • Whatever word is between "Hardest" and "Easiest": Copy my api.js file to your project then build the app. After all, you're here to learn React, not the Hacker News API. If you took this approach, I wouldn't blame you.

  • Easiest: Take 10-15 minutes to walk through my code. Notice how I approached different problems and how you may or may not want to do something similar. From there, start building and reference my project only as you need it.

Project Preview

Light Mode Dark Mode

react-course-curriculum's People

Contributors

tylermcginnis avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.