Uvicorn is imported in common backend module #999
Labels
priority-2-moderate
Should be resolved on a reasonable timeline.
release-patch
Warrents a patch release
Milestone
Current Situation
Currently Uvicorn gets imported in
reactpy.backend._common
. This is a problem because not all backends require uvicorn (e.g. Flask). Thus you can get an import error.Proposed Actions
Make uvicorn a common dependency or import it in a
try
block.The text was updated successfully, but these errors were encountered: