Giter VIP home page Giter VIP logo

react_static-list-of-todos's Introduction

React static list of TODOs

Task

Import todos and users, add a user to each todo and render them in the list.

  1. Create a preparedTodos array basing on todos. Each prepared todo should have a user property with a link to a user from users array or nullif we can't find a use by userId. It should be stored in the App.
  2. Create a TodoList component accepting an array of preparedTodos and rendering them as a list
  3. Create a UserInfo component accepting a user object and use it to render a todo.user in the list with some styling. (Show at least a name and an email of the user)
  4. Create a TodoInfo component accepting a todo object and use it in the list to render title, completed status and User

Hint: You can add only the props you use to the User interface. Todo interface should have a user property that could be a User or null.

react_static-list-of-todos's People

Contributors

mgrinko avatar vpolets avatar danmysak avatar danheim 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.