exhibitionist-digital / ultra

Zero-Legacy Deno/React Suspense SSR Framework
https://ultrajs.dev
MIT License
2.99k stars 65 forks source link

tech: revive example basic on refactor branch #281

Closed Danielduel closed 9 months ago

Danielduel commented 9 months ago

I've repaired the basic example

Ive based on branch with refactor.

Added a utility to execute and compose handlers AND added an option for handler to throw to manifest that something went wrong in controlled way.

Created static file handler and I've tried my best to make it to stream data from reader.

I am not sure if this utility for reading import file will be useful - adding it for now.

Welcome back :eyes:

image

mashaal commented 9 months ago

This is amazing, I was chatting with @deckchairlabs about how we should migrate some (but not all) of our examples for the next release -- this is a perfect start