Posts by Matheus Bafutto • 65 points
5 posts
-
1
votes1
answer21
viewsQ: Ordering prop based on another prop
Hello, I have a component that should receive two props, one that indicates if this component needs a date and a date that should be passed if and only if the component needs a date. Thus, the…
vue.jsasked Matheus Bafutto 65 -
0
votes1
answer38
viewsA: Jest ignoring package.json specifications
It seems that it was a problem in React-scripts itself. The error occurred when using version 0.9.x of React-scripts. When updating to version 1.0.13 the problem is gone.
-
1
votes1
answer38
viewsQ: Jest ignoring package.json specifications
I am implementing tests in my web application in React with jest. As it was started with the "create-React-app" it was easy to set up the environment. But for some reason jest seems to ignore…
-
2
votes1
answer75
viewsQ: Unexpected behavior in asynchronous javascript
I am writing backend code using javascript, Node and npm 'mysql' and 'request' modules. I tried to write a module to make a pooling of SQL database connections by different API calls in various…
-
1
votes1
answer77
viewsQ: Javascript possibly disturbing Mysql query
I recently started working with SQL databases and have had problems storing date columns in my tables. Basically what happens when I try to store a variable in the format yyyy-mm-dd, for example…