Posts by Renan Jansen • 5 points
4 posts
-
-1
votes0
answers16
viewsQ: Taking a props of a component as a global variable
I’m starting at React-Redux and would like to pick up a props of a component as my Reducer value I will demonstrate my code : product import { createSlice } from '@reduxjs/toolkit' export const…
-
-2
votes1
answer34
viewsQ: Architecture to complete
I’m creating an RPG to play on the Javascript console. I created a conditional within a function that, if chosen, the whole program for ,but is not happening. Can someone give me an idea of a…
-
0
votes0
answers27
viewsQ: Object using object
I have created character objects that will launch data to validate their actions. It is possible the object mago, for example, use the function dado.sorteio()? mago = { nome: "Misha", vida:50,…
-
1
votes1
answer56
viewsQ: Printing a permanent array in html
Good morning , I am developing a registration system, but after printing the data on the screen when reloading the printed data disappear. Any solution? Grateful. var aluno = []; var dados = ["Nome:…