Skip to content

Feature/exo 1#1

Open
CallixteBailly wants to merge 17 commits intodevelopfrom
feature/exo-1
Open

Feature/exo 1#1
CallixteBailly wants to merge 17 commits intodevelopfrom
feature/exo-1

Conversation

@CallixteBailly
Copy link
Owner

@CallixteBailly CallixteBailly commented Jan 10, 2023

  • Créer un composant TodoList pour afficher une liste de tâches

    03c1ea2

  • Créer un composant TodoItem pour afficher chaque tâche de la liste

    c0f7e51

  • Utiliser les props pour passer les données de chaque tâche au composant TodoItem

    d85fa45

  • Gérer l'état de chaque tâche (terminée ou non terminée) avec le state du composant TodoItem

    091d28e

  • Ajouter un bouton pour marquer une tâche comme terminée ou non terminée (utilisation d'un événement onClick)

    be1b290

  • Ajouter un champ de texte et un bouton pour ajouter une nouvelle tâche à la liste (utilisation de formulaires et de refs)

    585c759

  • Afficher un message lorsqu'il n'y a pas de tâches à afficher (utilisation de rendu conditionnel)

    1cc0ad6

  • Ajout d’un check string empty et fix la liste des taches le composant n’est pas appeler

    6c18f2b

  • Ajout d’une autre page List avec Router

    14e8970

@@ -0,0 +1,54 @@
import React, { useState } from 'react';
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Import React saut de ligne

});

// Composant List
function List(props) {
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ajouter l'extension FC.compment

);
}

export default List;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ne pas utiliser le default

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant