reactpy
reactpy copied to clipboard
Use `uvloop` instead of `asyncio` when possible.
Current Situation
uvloop is a high performance drop-in replacement for asyncio. When possible, we should be using it.
Proposed Actions
Similar to uvicorn --loop=auto, we should automatically use uvloop whenever possible.
However, we should only do this if we can demonstrate performance improvements. I'm uncertain if it makes a difference for us since ReactPy is not directly handling any IO.