News for hackers. Stuff that matters.
Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python by qwertox on Monday March 13, 2023 @03:24PM (#35141079)
This looks really interesting for a simple way to build a rudimentary but full-featured webapp, for example for the intranet.

But I wonder how this can be used with `asyncio`, since the handlers are pure `def` and not `async def`.

Searching the docs for `async` does return any results.

Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python by picklelo on Monday March 13, 2023 @03:28PM (#35141134)
I'll look why the search doesn't bring it up - see our event chain example here for how we do async event handlers: https://pynecone.io/docs/state/events
Re:Launch HN: Pynecone (YC W23) – Web Apps in Pure Python by qwertox on Monday March 13, 2023 @03:29PM (#35141149)
Great! Thank you. Maybe also showcase an example on the landing page, like making only the `def decrement(self)` an async function.