Closed bl4ckm0r3 closed 5 years ago
About the async await
, it is nice but it is not working in IE 11 and maybe then...catch
will be better in this case. What do you think?
microsoft isn't supporting ie11 anymore, so why would you? :D anyway i'll update the pr to restore promises!
I just noticed that in "hooks/useValidation.js" there is a duplication of the function getValidationMsg(), would you mind to change even that one or even better move it in the utils
and remove that duplication?
I am not a big fan of
break
orthen...catch
and es6 offer a lot of interesting tools to avoid those :) Unfortunately there are no tests but it should work since the logic hasn't changed! @antoniopangallo Please double check before merging!