I want to make the below scenario:
The client stay on my website screen 1 and wait signal data that receive from my server. After receiving the signal data, then the client will be loaded to screen 2 immediately and automically.
Is it related to Socket? Any examples that can apply to my setup? or other way to do that?
The information of my setup:
Frontend: ReactJS; Backend: PHP
Another example:
The client stay on my website and they can get a new notification without reloading just like Stackoverflow notification.
Or client listen to a server database field when changing.