Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Is there a design reason why the example does “new lowstorage” on each hono endpoint?


you want to get context (c) and its env inside function to get to R2 instance - in vanilla worker code it would be wrapped inside async fetch(request, env, ctx)




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: