Posts by user3126382 • 71 points
5 posts
-
-1
votes1
answer34
viewsQ: Life cycle and React variables (state and useEffect)
I’m having trouble understanding React’s life cycle. Project summary: React repeatedly retrieves information from an API (setInterval) with certain filters, where filters are also the result of a…
-
2
votes2
answers1136
viewsA: Perform search inside javascript object and return value
You can use the filter, would be something like: var produtos = { skus: [ { especificacao: { cor: "Azul", tamanho: "Queen" }, sku: 132 },{ especificacao: { cor: "Branco", tamanho: "Queen" }, sku:…
-
1
votes1
answer139
viewsQ: Identify/Authenticate client on websocket
I’m creating a simple server sockets in PHP, but I’m having some doubts, since this is the first time I’ve done anything like this. My doubt is how I identify the client, that is, through an…
-
1
votes1
answer2173
viewsA: Unity 2d - Enemy follow player
Long live, Basically your code is correct... Now you lack the intelligence to find the possible way to reach the target you have marked. In a simple way it has: A* Pathfinding Project Navmesh Both…
-
-1
votes1
answer79
viewsQ: FTP alias of /home for /www
Long live, I created in Ubuntu all the necessary configuration to access by FTP, but at a certain point I found a problem: I have restricted so that each user can only access their /home/$USER…