Mark Bakhit

Results 313 comments of Mark Bakhit
trafficstars

`uvicorn` auto reloading does not work when using uvicorn's Python API. Unfortunately it only works through command line. Or more accurately, `uvicorn.Config(app=...)` needs to be a string.

Yep, I have a simpler solution that might involve changing our `BackendImplementation` protocol. I don't want to overload #1051 with that. Will do in a follow up PR.

We might also want to validate event handlers too. Need to ensure they're either coroutines or callable.

> > We might also want to validate event handlers too. > > Event handlers are already extracted from attributes based on whether they are callable or not. I currently...

Also I don't see how this PR resolves #437

Any implementation that is just a basic `uuid4` wrapper is effectively pointless. Depending on how we implement nesting multi-level client/server side components, option 3 might end up making sense in...

I ended up developing a [`use_root_id` hook](https://reactive-python.github.io/reactpy-django/latest/reference/hooks/#use-root-id) within ReactPy-Django, as some users were attempting to rely on the root `uuid` for some database logic. We may want to propagate an...

I can see there's a pretty heavy want for a JSX style syntax for ReactPy. Ideally we would have added support for this once Python and code editors (such as...

That was my original justification for the `async_schedule` parameter (name TBD). It simplifies awkward situations like that. I think it's less ambiguous than just assuming cancellation on argless functions. With...

> Otherwise you could end up in a weird situation where the cleanup logic for the last effect might be running while the setup logic for the next one does....