Posts by Luis Grappi • 121 points
5 posts
-
1
votes1
answer56
viewsA: Retrieve checkbox serializeArray value
From what I understand it’s this textarea that you will store in BD right? If so, just add the Id field to each of your checkboxes (you can do it without Id, but it is recommended to treat the…
-
0
votes1
answer81
viewsA: Javascript Abstract Classes
Your formas in the file you matter will be equal to module.exports of the file exporting. Export like this: class default { constructor(width){ this.width = width } area(){ return this.width ** 2 }…
javascriptanswered Luis Grappi 121 -
4
votes1
answer653
viewsA: When to use Redux and state in React
Is used State within the logic of your component, to store some non-persistent information inherent in it, something that depending on that information you will use to render something or to fetch…
-
1
votes1
answer137
viewsA: How do I know if pwa has already been installed on another domain?
You can use a cookie to verify that the button has already been clicked and set this cookie on both domains with the help of an iframe (since the cookie is unique per domain). That is, you can…
-
0
votes3
answers58
viewsA: How do I make a data typed in an input go to a java script function?
It’s simple, just put in your input a function onChange. It will be executed every time your input changes. You can do it this way: <input style="color: #ffffff;"…