Back to packages list

Vals using react

Description from the NPM package:
React is a JavaScript library for building user interfaces.
park avatar
btc
@park
HTTP
@jsxImportSource https://esm.sh/react
wilhelm avatar
reactClientDemo
@wilhelm
HTTP
Idiomatic SSR and hydration of a React app
bl3 avatar
pkmnTypesTiers
@bl3
HTTP (preview)
@jsxImportSource https://esm.sh/react
iamseeley avatar
reactClient
@iamseeley
Script
🌐 Client Side code for the React example
stevekrouse avatar
dateme_home_react
@stevekrouse
Script
@jsxImportSource https://esm.sh/react@18.2.0
tfayyaz avatar
tldrawReactExportScript
@tfayyaz
Script
@jsxImportSource https://esm.sh/react@18.2.0
tfayyaz avatar
honoReactExportModeScript
@tfayyaz
Script
@jsxImportSource https://esm.sh/react
maxm avatar
freshChartsExample
@maxm
HTTP
Deno Fresh Charts Example Cobbled together from here: https://github.com/denoland/fresh_charts/tree/main/examples Render charts as HTML or as images. This image is rendered by the val below:
jxnblk avatar
codeIconReact
@jxnblk
Script
@jsxImportSource npm:react
jxnblk avatar
valTownLogotypeReact
@jxnblk
Script
@jsxImportSource npm:react
neverstew avatar
cors_example
@neverstew
HTTP
CORS issues are the bane of frontend engineers. In Val Town, if you don't customize any CORS headers, we add these defaults: Access-Control-Allow-Origin: "*" Access-Control-Allow-Methods: "GET,HEAD,PUT,PATCH,POST,DELETE" You can override them if you wish to disallow CORS. Check out @neverstew/setCorsHeaders for the easiest way to do this in your code. This val is a client-side-rendered React app that makes requests to @stevekrouse/cors_example_backend. The backend is in a different val because CORS applies to requests on different domains. The backend has examples of the default permissive CORS behavior and disabled CORS.
andreterron avatar
tldraw_react_client
@andreterron
Script
// JSX can be used in the client val thanks to this magic comment
tfayyaz avatar
App
@tfayyaz
HTTP
// JSX can be used in the client val thanks to this magic comment
nbbaier avatar
react_client
@nbbaier
Script
// JSX can be used in the client val thanks to this magic comment
pomdtr avatar
react_example_client
@pomdtr
Script
// JSX can be used in the client val thanks to this magic comment
pomdtr avatar
example_ssr
@pomdtr
HTTP
SSR + Hydration Demo Look at @pomdtr/island and @pomdtr/hydrate_islands to read the whole library source code (less than 50 rows!).