deepak-chandani / hacker-news

Hacker News clone build with ReactJS hooks, TypeScript & jest for unit testing

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReactJS TypeScript

React Hooks Course Curriculum - Hacker News Clone

Info

This is the assignment project in which, task was to migrate the existing application to use React hooks. Old application is having class components & job is to replace them with function component & utilize hooks for state & side effects.

How I upgraded this application

  • Replaced all class components with function components which utilize hooks for state, effects, references, context etc
  • create various custom hooks to increase code-logic sharing
  • added TypeScript to create strongly-typed codebase
  • added Unit tests using jest & react-testing-library

Project

This is a (soft) "Hacker News" clone. You can view the final project at hn.ui.dev/.

Project Preview

Light Mode Dark Mode

Deepak Chandani

About

Hacker News clone build with ReactJS hooks, TypeScript & jest for unit testing


Languages

Language:TypeScript 70.4%Language:JavaScript 22.5%Language:CSS 6.1%Language:HTML 1.1%