React Components - #1
Open
Seala11 wants to merge 29 commits into
Open
Conversation
Seala11
commented
Dec 7, 2022
Owner
- Task: https://github.com/rolling-scopes-school/tasks/tree/master/react/modules/module01
- Screenshot:

- Deploy: https://seala11-react-components.netlify.app/
- Done 30.09.2022 / deadline 03.10.2022
- 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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.