Posts by Ghostzeiro • 41 points
5 posts
-
1
votes2
answers973
viewsQ: How to export and import object array in Javascript?
I am creating a system, and within the main codes I have large arrays of objects that store information about products and information in which I use within the functions for certain system…
-
0
votes1
answer79
viewsQ: setInterval() does not work
I am creating a question application, where it displays a timer, if the timer reaches 0, the question will be lost (ie if the user does not answer in time), but when displaying the number is…
-
0
votes0
answers122
viewsQ: use props.match.params in a class
I would like to use a function that is within a class, but I would like this function to use the props.match.params to rescue the id of the product in the URL, to know which product the function…
-
0
votes1
answer44
viewsQ: create a new Child with the same name instead of overwriting-firebase
I need help on firebase i have a code that creates a "Child" (I think that’s what it’s called) called "Records" inside the node(folder/table) called "users" that takes a value passed by parameter,…
-
-1
votes1
answer397
viewsQ: This is Undefined in React Hooks
Hello, I’m creating a JS system using React Hooks, but I came across a problem when I use <Route exact path ="/produto/:idProduto" component={Quiz}/> we were able to capture the id with const…