Posts by Matheus Costa • 37 points
6 posts
-
0
votes0
answers17
viewsQ: Join does not work on Objection.js
I’m using Objection.js to build my Models using Node Typescript. I have a projects table that can have a user, so I have a foreign_key id_usuario in the projects table. So far so good, but when I…
-
0
votes2
answers132
viewsA: How to pass value between Functional Components using Navigation.navigate
The question is a little old, I do not know how was the support for some Hooks at the time, but today I recommend using useNavigation and useRoute for those who have the same problem. First…
-
1
votes2
answers446
viewsA: Response.data returns empty array (React Nativ(HOOKS))
Usually (I’m not entirely sure if in all cases this happens) when we try to give a console.log in a state that has just been changed, it shows the previous value. In the case I mentioned in the…
-
0
votes1
answer251
viewsQ: Dynamic checkbox does not work (Vuejs)
I am developing a Feature that lists products and their status (enabled, disabled). To choose the state of the product, I am using a checkbox in toggle-switch format. <div class="col-md-6…
-
1
votes2
answers446
viewsQ: Response.data returns empty array (React Nativ(HOOKS))
When you require something from the backend, the return comes as an empty array. I tried both with map and with console log.. Source code: Reportscreen.js const [reports, setReports ] =…
-
1
votes2
answers1558
viewsQ: Possible Unhandled Promise Rejection (React Native (HOOKS))
I am trying to call the API but is returning the warning error: "Possible Unhandled Promise Rejection". There are similar questions, but none specific to React Hooks from what I’ve seen. Follow the…