GithubHelp home page GithubHelp logo

x64bits / todo-app Goto Github PK

View Code? Open in Web Editor NEW

This project forked from luxxuz/todo-app

0.0 0.0 0.0 719 KB

Home Page: todo-app-luxxuz.vercel.app

HTML 3.04% JavaScript 95.93% CSS 0.61% Shell 0.41%

todo-app's People

Contributors

luxxuz avatar

Watchers

 avatar

todo-app's Issues

Defined convention to name assets

Two nomenclatures are being used when naming project assets.

Folder with these files

This recommendation can be applied for each file considered an asset in the project, it can be inside src/assets or public as css files, plain javascript, images, videos, etc...

Bad: Github_Logo.png
Bad: signInLogo.svg

Recomendation: github-logo.png
Recomendation: sign-in-logo.svg

Use transient props

It is possible to pass the styles that this component will use with Transient props format which will help these values not reach the real DOM, check with the browser inspector that these prop values can be seen even though the element does not support them, when using Transient props are removed by the compiler if the DOM element does not support it.

Avoid overriding the theme prop because it is used when global props of the theme defined in the are needed.

File: src/components/Task/index.jsx

useCallback oportunity

To prevent the date calculation from being done with each change in the DOM of this component, it is possible to nest the function in a useCallBack so that it only changes when the date value changes.

File: src/components/Task/index.js

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.