Skip to content

Tag: reactjs

Please change the parent to

I’m getting this warning in React app: Here is my code: AppBody.js: What I’ve to change in my code to fix the warning? Answer It means that AppBody is rendering more deeply nested routes and the path needs to specify the wildcard * character to indicate it can match more generic/nested paths. reac…

Receive data continuously from socket react

I’m currently using this code for receiving data from sockets Code: the server sends data(images from camera) continuously. how to receive it without refreshing? i tried one method that requests data every milliseconds. i don’t know whether it is a good way or not Request every milliseconds code: …