Skip to content

React Redux todo list application, using react hooks, integrated with ChakraUI component library.

Notifications You must be signed in to change notification settings

asiakay/react-redux-chakraui-todo-list-app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Project Description: A simple React Redux todo list application using ChakraUI's darkmode.

Introducing the Chakra UI component library into a Redux Application.

What is a component library?

A component library is helps designers save time and produce more consistent work. They are made up of designs, styles and pieces of software. source: Why Should You Use a React Component Library for your Project?

What is Chakra UI?

According to the website, "Chakra UI is a simple, modular and accessible component library that gives you the building blocks you need to build your React applications" In addition to React, the project documentation provides instructions for installing for getting started with React frameworks, including Next.js and Gatsby.js in the official documentation.

What makes Chakra UI different?

Examine what makes Chakra UI unique by:

  1. visiting the project documentation that compares and contrasts Chakra UI library with other popular UI and CSS frameworks including Theme UI, Tailwind CSS and Google's Material UI.
  2. Researching developer articles written on the subject.

Getting Started

This Readme assumes you've already created a Redux Application that you can install Chakra UI to be installed into.

If you are new to Redux, then follow the Getting started with React Redux tutorial listed in the official documentation.

The base of this project was built off of the official React Redux Tutorial: Using the connect API

Official Chakra UI Documentation references used to help create the build:

Chakra-UI > Getting Started

Chakra-UI > Input

Chakra-UI > Color Mode

Chakra-UI > Changing Color Mode

Chakra-UI > Icons

Chakra-UI > Creating your custom icons

Chakra-UI > Customize Theme

Chakra-UI > Updating the theme config

🙏🏾 Thanks to the writers of the articles listed below. These resources helped me to understand the challenges.

For future reference & planned integrations

DEV BUILD WARNING MESSAGE

"SharedArrayBuffers (SABs) can be used to construct high-resolution timers. High-resolution timers simplify Spectre attacks of cross-origin resources. To mitigate security risks across browsers, SharedArrayBuffers are gated behind cross-origin isolated contexts starting with Chrome 91 (May 2021). To continue using SharedArrayBuffers, please ensure that this page opts-into cross-origin isolation by setting Cross-Origin-Opener-Policy and Cross-Origin-Embedder-Policy appropriately. Note that for each iframe, only the first issue is reported for performance reasons."


5/29 - Registered for SharedArrayBuffers in non-isolated
pages on Desktop platforms Trial to be implemented during production build and deployment

Additional Documentation

In order to patch the deprecation and continue using SharedArrayBuffers, we need to input a Web Origin with an https, http, or chrome-extension prefix.


At this point, we're ready to deply v.0.0.1 of the application. Because it's a simple single page appliation that doesn't require database integration, to keep things simple with and scalable, I will be deploying to github pages.

Because I plan on adding more features and updating the UI, I will be deploying using ci/cd for continuous integation and access to scalable solutions offered in the github marketplace.

Github user gitname offers a useful guide for deploying create-react-app using the node package manager gh-pages. link


This project was bootstrapped with Create React App, using the Redux and Redux Toolkit template.

Available Scripts

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.

npm test

Launches the test runner in the interactive watch mode.
See the section about running tests for more information.

npm run build

Builds the app for production to the build folder.
It correctly bundles React in production mode and optimizes the build for the best performance.

The build is minified and the filenames include the hashes.
Your app is ready to be deployed!

See the section about deployment for more information.

npm run eject

Note: this is a one-way operation. Once you eject, you can’t go back!

If you aren’t satisfied with the build tool and configuration choices, you can eject at any time. This command will remove the single build dependency from your project.

Instead, it will copy all the configuration files and the transitive dependencies (Webpack, Babel, ESLint, etc) right into your project so you have full control over them. All of the commands except eject will still work, but they will point to the copied scripts so you can tweak them. At this point you’re on your own.

You don’t have to ever use eject. The curated feature set is suitable for small and middle deployments, and you shouldn’t feel obligated to use this feature. However we understand that this tool wouldn’t be useful if you couldn’t customize it when you are ready for it.

Learn More

You can learn more in the Create React App documentation.

To learn React, check out the React documentation.

Code Splitting

This section has moved here: https://facebook.github.io/create-react-app/docs/code-splitting

Analyzing the Bundle Size

This section has moved here: https://facebook.github.io/create-react-app/docs/analyzing-the-bundle-size

Making a Progressive Web App

This section has moved here: https://facebook.github.io/create-react-app/docs/making-a-progressive-web-app

Advanced Configuration

This section has moved here: https://facebook.github.io/create-react-app/docs/advanced-configuration

Deployment

This section has moved here: https://facebook.github.io/create-react-app/docs/deployment

npm run build fails to minify

This section has moved here: https://facebook.github.io/create-react-app/docs/troubleshooting#npm-run-build-fails-to-minify

About

React Redux todo list application, using react hooks, integrated with ChakraUI component library.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published