Skip to content

Module 03 | React. Tests | Context API#3

Open
Quiddlee wants to merge 69 commits intomodule-02from
module-03
Open

Module 03 | React. Tests | Context API#3
Quiddlee wants to merge 69 commits intomodule-02from
module-03

Conversation

@Quiddlee
Copy link
Owner

@Quiddlee Quiddlee commented Nov 8, 2023

  1. Task: click
  2. Screenshot:
    image

image

image

image

  1. Deploy: click
  2. Done 08.11.2023 / deadline 13.11.2023
  3. Score: 100 / 100

Functional requirements 🍿

  • 📦 Custom state management using the Context API is implemented - 5 points
  • 🔍 The Search component value is stored in the context - 5 points
  • 🎴 The list of items received from the API is stored in the context - 5 points
  • 🫴 The context is used in components that need access to the data - 5 points
  • 🧪 React Testing Library and Jest or Vitest are added and configured - 10 points
  • 🤖 Test cases - 60 points (5 points per each)
  • 🐺 Husky runs tests on pre-push - 10 points

Penalties 👎

  • 😥 TypeScript isn't used: -95 points
  • 😱 Usage of any: -20 points per each
  • 🙀 Usage of ts-ignore: -20 points per each
  • 🧃 Direct DOM manipulations inside the React components: -50 points per each
  • 🪝 React hooks are used to get access to either state, or to the component lifecycle: -70 points
  • 💨 Presence of code-smells (God-object, chunks of duplicate code), commented code sections: -10 points per each
  • 🗿 Usage of Redux or other state management libraries: -100 points
  • 📚 Usage of component libraries, e.g. Material UI, Ant Design: -100 points
  • 📔 Test coverage is less than 80%: -30 points
  • 📛 Commits after the deadline: -40 points

@Quiddlee Quiddlee requested a review from andron13 November 8, 2023 15:42
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.

2 participants