-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
updated react to 16.1.1, removed linkedInputs #1082
Conversation
chrisdugne
commented
Nov 14, 2017
•
edited
Loading
edited
- react 16
- updated enzyme
98bb6c9
to
f35ce74
Compare
Codecov Report
@@ Coverage Diff @@
## master #1082 +/- ##
=======================================
Coverage 95.15% 95.15%
=======================================
Files 233 233
Lines 3489 3489
=======================================
Hits 3320 3320
Misses 169 169
Continue to review full report at Codecov.
|
@@ -55,7 +54,7 @@ const ButtonContent = props => { | |||
|
|||
default: | |||
return ( | |||
<LinkedInput | |||
<input |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ça servait à quoi d'utiliser LinkedInput et pourquoi on (peut) s'en débarasse(r) maintenant ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c'etait deja deprecié pour react 15 mui/material-ui#2880 (comment)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cela dit, @godu l'a utilisé pour le input-text de recherche des users dans setup principalement: de ce que j'ai compris cest pour mettre en en file les renders à chaque onChange de chaque lettre.
A priori on ne devrait pas avoir ce pb avec react 16, il va falloir tester je n'ai pas assez de users en local
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
pour les autres inputs que jai testé ca fonctionne tres bien.
<div | ||
data-name="cover" | ||
className={style.ctaWrapper} | ||
onClick={!disabled ? onClick : noop} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
disabled ? noop : onClick
plutôt, moins de gymnastique mentale à faire
(idem plus bas)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Il faudra passer sur le mooc, store, cockpit et setup pour s'assurer que tout continue de marcher
* updated react to 16.1.1, removed linkedInputs * updated enzyme * updated yarn.lock * migrated enzyme to use adapter for react 16 * fixed few components