• Stars
    star
    115
  • Rank 304,782 (Top 7 %)
  • Language
    JavaScript
  • Created over 4 years ago
  • Updated over 1 year ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A ToDo application created in ReactJS using Hooks. Intended as an exercise to learn React Hooks and functional components.

react-todo-functional

A simple ToDo application built with React using only functional components and no class components. This exercise was intended to explore and learn more about Hooks in React.

This project has been deployed and can be seen at this link.

Side Note: This project was featured in a YouTube video by "The Clever Programmer" channel.

Some notes about functional components in React

  • Functional components are good for presentational components (components that are stateless are just UI elements)
  • Functional components receive props as arguments and return JSX that is to be rendered. (We destructure the props in arguments using ES6 object destrucuturing for convenience)
  • They are also easier to work with (considering you don't have to worry about this) and easier to understand.

Earlier, functional components were strictly stateless, but now, we can use React Hooks to implement the state functionality in functional components.

Available Scripts

This project was bootstrapped with create-react-app. In the project directory, you can run:

npm start

Runs the app in the development mode.
Open http://localhost:3000 to view it in the browser.

The page will reload if you make edits.
You will also see any lint errors in the console.

More Repositories

1

examsecure

ExamSecure is a platform for conducting cheating free remote examinations with an automated virtual proctoring system that performs face and object detection in real time using the candidates' webcam frames to ensure exam authenticity.
JavaScript
9
star
2

weather

A simple Flask based application that shows weather of a particular city.
Python
6
star
3

rajrajhans.com

Source code for my personal portfolio/blog website rajrajhans.com, developed using Gatsby and hosted on Netlify.
JavaScript
6
star
4

react-pagination-infinite-scroll

Companion repository for the blog post "Implementing infinite scroll in React". Sample app which fetches images from Unsplash API and displays them with infinite scroll.
JavaScript
5
star
5

spring-boot-todo

A simple REST API for a todo app created using Spring Boot. Intended as a beginner exercise to learn more about the Spring Framework.
Java
5
star
6

diff-using-lcs

Accompanying repo for the blog post "A Closer Look at Diffing Algorithms using Dynamic Programming" posted on rajrajhans.com.
C++
4
star
7

tweet-component

A React component for displaying a tweet
JavaScript
4
star
8

rajrajhans

3
star
9

shopping-cart-react

A fully functional shopping cart developed using ReactJS
JavaScript
3
star
10

gradgoggles

GradGoggles is a virtual yearbook and scrapbook application developed using Flask (API), ReactJS and Android. This repo contains the source code for the whole application.
3
star
11

audio-visualiser

A demo for using the WebAudio API to create different visualisations like waveforms, volume meter, frequency isolated volume meter, etc.
TypeScript
3
star
12

react-weather

A simple weather application created using ReactJS.
JavaScript
3
star
13

safepass-android

SafePass is a simple and secure password management tool with an Android app developed using React Native and Web app developed using React. It uses Firebase as the backend.
JavaScript
3
star
14

safepass

SafePass is a simple and secure password management tool developed using ReactJS and Firebase. SafePass Stanford's JavaScript Crypto Library (SJCL) for encryption and decryption.
JavaScript
3
star
15

react-components

Beginner level ReactJS components
HTML
2
star
16

wetalk

Wetalk is a basic social network built in Flask and hosted on Heroku.
Python
2
star
17

mlh-show-and-tell-aws-rekognition

Companion repository for my MLH Show and Tell talk on "Leveraging AWS Rekognition to build ML Powered WebApps".
JavaScript
2
star
18

react-chat

A basic chat web application developed using ReactJS, MaterialUI and Firebase
JavaScript
2
star
19

barebones-web-server-elixir

A barebones web server that I worked on while learning Elixir
Elixir
2
star
20

creditcard-fraud-detection

Developing a machine learning model to predict whether a credit card transaction is fraudulent
Python
2
star
21

promise-all-with-a-timeout

JavaScript
1
star
22

-module-federation-demo-cra

JavaScript
1
star
23

webserver

A basic web server created using Python. Companion repo to blog post on website.
Python
1
star
24

file-list-component

A simple React Component that replicates GitHub's file list.
JavaScript
1
star
25

module-federation-demo

Simple example demonstrating Module Federation in Webpack 5. Companion repository for my React Bangalore Meetup talk.
JavaScript
1
star
26

gatsby-hello-world

A project to get familiar with the Gatsby ecosystem
JavaScript
1
star
27

oneshop

A simple ecommerce website built using NextJS, Apollo and GraphQL. It uses KeystoneJS as a headless CMS and MongoDB as the database.
JavaScript
1
star