Closed choucavalier closed 8 years ago
Sorry for the delay in responding, I was travelling.
In answer to your question: probably not.
python-react
is just a bunch of boilerplate that aims to solve the problem of pre-rendering React components, so that your markup is visible before the page load.
For your use case, I'd recommend a socket server that pushes to the clients.
If you want to use python for the backend, you can use something like twisted. I've worked on some small scale real-time stuff with Twisted + Django: seems to work well, not sure about scalability though.
If you want a js backend, node + socket.io + express works well.
Not sure if that answered all of your questions, but feel free to ask if there's anything you're wondering about.
I am new to React (and, thus, to python-react).
I want to build a web user interface to display real-time data.
I have a python program running on the server-side that retrieves data from a data provider and does some processing on it.
What I want to do is link my program to a client-side real-time user interface to visualize it.
Questions