Skip to content
This repository was archived by the owner on Jan 16, 2022. It is now read-only.

Routes - Replaced class by func. comp#159

Merged
juanpicado merged 6 commits intomasterfrom
refactor/116_convert_class_to_func_router
Oct 19, 2019
Merged

Routes - Replaced class by func. comp#159
juanpicado merged 6 commits intomasterfrom
refactor/116_convert_class_to_func_router

Conversation

@priscilawebdev
Copy link
Copy Markdown
Contributor

Type: Refactor

The following has been addressed in the PR: #116

Unit or Functional tests are included in the PR?
in progress

Description:

in order to use react hooks, in this PR I updated the routes by changing it from a class to a functional component. I have also splitted it's content so that it is clearer.

@priscilawebdev priscilawebdev force-pushed the refactor/116_convert_class_to_func_router branch from 27c05da to 6783b05 Compare October 9, 2019 13:37
@priscilawebdev priscilawebdev changed the title Work in Progress: Routes - Replaced class by func. comp WIP: Routes - Replaced class by func. comp Oct 9, 2019
@priscilawebdev priscilawebdev changed the title WIP: Routes - Replaced class by func. comp Routes - Replaced class by func. comp Oct 17, 2019
@codecov
Copy link
Copy Markdown

codecov bot commented Oct 17, 2019

Codecov Report

Merging #159 into master will increase coverage by 0.1%.
The diff coverage is 93.33%.

@@            Coverage Diff            @@
##           master     #159     +/-   ##
=========================================
+ Coverage   86.84%   86.95%   +0.1%     
=========================================
  Files         116      117      +1     
  Lines         882      874      -8     
  Branches      141      160     +19     
=========================================
- Hits          766      760      -6     
+ Misses        103       97      -6     
- Partials       13       17      +4
Impacted Files Coverage Δ
src/utils/package.ts 95.65% <ø> (+3.98%) ⬆️
src/App/App.tsx 93.87% <100%> (-0.47%) ⬇️
src/App/AppContext.tsx 100% <100%> (ø)
src/App/AppRoute.tsx 90.9% <90.9%> (ø)
src/utils/styles/media.ts 81.81% <0%> (ø) ⬆️
src/components/DetailSidebar/DetailSidebar.tsx 85% <0%> (ø) ⬆️

@juanpicado juanpicado merged commit 5c06ace into master Oct 19, 2019
@delete-merged-branch delete-merged-branch bot deleted the refactor/116_convert_class_to_func_router branch October 19, 2019 08:49
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants