Skip to content

React Components - #1

Open
Seala11 wants to merge 29 commits into
mainfrom
components
Open

React Components#1
Seala11 wants to merge 29 commits into
mainfrom
components

Conversation

@Seala11

@Seala11 Seala11 commented Dec 7, 2022

Copy link
Copy Markdown
Owner
  1. Task: https://github.com/rolling-scopes-school/tasks/tree/master/react/modules/module01
  2. Screenshot:
    home-page
  3. Deploy: https://seala11-react-components.netlify.app/
  4. Done 30.09.2022 / deadline 03.10.2022
  5. Score: 15 / 15
  • React App + components and router – 9 points
    • Header contains page with cards ('home'), “About Us”, “404”.
    • If user will input unknown route into url – application redirects to “404”.
    • Home page contains Search Bar conponent
    • Input value is stored in LocalStorage during component’s unmount. On initialization, the value is picked from LocalStorage and displayed.
    • Home page contains Card List component
    • Class components are used to access to life cycles of a component
  • Tests – 4 points
    • test for one card
    • tests for the list of all cards
    • LocalStorage is mocked.
  • eslint, prettier – 2 points
    • eslint and prettier are set up so that the project would not build if having errors
  • Additionally
    • Search bar works correctly filtering cards by name
    • Search input also saved to local storage on page reload
    • The 404 page has a redirect button to the home page
    • All components are covered with tests, Coverage 96%
    • Fully responsive

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