Updating Realtime Data in Client(React) from MongoDB on every HTTP request

I am created a data entry in my database(mongoDB) through “POST” request from some react component.

Now if I want to automatically reflect the newly created data in my React app, what will be the best method.

consider I am using “axios” to get and po…


This content originally appeared on DEV Community and was authored by Kishan Permand

I am created a data entry in my database(mongoDB) through “POST” request from some react component.

Now if I want to automatically reflect the newly created data in my React app, what will be the best method.

consider I am using “axios” to get and post data. can you pls give what is the most suitable approach is used in realtime development.


This content originally appeared on DEV Community and was authored by Kishan Permand


Print Share Comment Cite Upload Translate Updates
APA

Kishan Permand | Sciencx (2024-07-21T14:20:10+00:00) Updating Realtime Data in Client(React) from MongoDB on every HTTP request. Retrieved from https://www.scien.cx/2024/07/21/updating-realtime-data-in-clientreact-from-mongodb-on-every-http-request/

MLA
" » Updating Realtime Data in Client(React) from MongoDB on every HTTP request." Kishan Permand | Sciencx - Sunday July 21, 2024, https://www.scien.cx/2024/07/21/updating-realtime-data-in-clientreact-from-mongodb-on-every-http-request/
HARVARD
Kishan Permand | Sciencx Sunday July 21, 2024 » Updating Realtime Data in Client(React) from MongoDB on every HTTP request., viewed ,<https://www.scien.cx/2024/07/21/updating-realtime-data-in-clientreact-from-mongodb-on-every-http-request/>
VANCOUVER
Kishan Permand | Sciencx - » Updating Realtime Data in Client(React) from MongoDB on every HTTP request. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/07/21/updating-realtime-data-in-clientreact-from-mongodb-on-every-http-request/
CHICAGO
" » Updating Realtime Data in Client(React) from MongoDB on every HTTP request." Kishan Permand | Sciencx - Accessed . https://www.scien.cx/2024/07/21/updating-realtime-data-in-clientreact-from-mongodb-on-every-http-request/
IEEE
" » Updating Realtime Data in Client(React) from MongoDB on every HTTP request." Kishan Permand | Sciencx [Online]. Available: https://www.scien.cx/2024/07/21/updating-realtime-data-in-clientreact-from-mongodb-on-every-http-request/. [Accessed: ]
rf:citation
» Updating Realtime Data in Client(React) from MongoDB on every HTTP request | Kishan Permand | Sciencx | https://www.scien.cx/2024/07/21/updating-realtime-data-in-clientreact-from-mongodb-on-every-http-request/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.