Public
Like
react-streaming-starter
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in miliseconds.
Viewing readonly version: 15View latest version
Minimal React Streaming example for Val Town View Demo
Remix this project to start building your own React app
The http.tsx
file is the main entry point and serves the app.
It renders the App
component on the server and sends a streaming response;
The bootstrapModules
option adds a <script>
tag that loads the client.tsx
module to hydrate the React app in the browser.
The App.tsx
file is the root component of the React app. You can add more components and functionality as needed.
See also: