Search

1,917 code results for react client side

Code
1,917

- [ ] Give it a tool to make an HTTP request to its own endpoint to test things!
- [x] Get React Router working on the client & move off localstorage for storing page state
- [ ] When it hits the max number of steps, detect that and give the user a button (or instructi
- [ ] opentownie as a pr bot
- [ ] give it the ability to see its own client-side and server-side logs by building a middlewa
- [ ] do a browser use or screenshot thing to give it access to its own visual output
- [x] Refactor /backend/index.ts into multiple files
- [x] Format the JSON inside the tool-calls as pretty markdown
- [x] Think as normal markdown
- [x] Show reasoning in a detail
- [x] Consider asking it to write the minimum code possible
- [x] Add caching (post in the vercel ai discussion about how it's not working)
- [ ] Give it a tool to make an HTTP request to its own endpoint to test things!
- [x] Get React Router working on the client & move off localstorage for storing page state
- [ ] When it hits the max number of steps, detect that and give the user a button (or instructi
- [ ] opentownie as a pr bot
- [ ] give it the ability to see its own client-side and server-side logs by building a middlewa
- [ ] do a browser use or screenshot thing to give it access to its own visual output
- [x] Refactor /backend/index.ts into multiple files
- [x] Format the JSON inside the tool-calls as pretty markdown
- [x] Think as normal markdown
- [x] Show reasoning in a detail
- [x] Consider asking it to write the minimum code possible
- [x] Add caching (post in the vercel ai discussion about how it's not working)
- [ ] Give it a tool to make an HTTP request to its own endpoint to test things!
- [x] Get React Router working on the client & move off localstorage for storing page state
- [ ] When it hits the max number of steps, detect that and give the user a button (or instructi
- [ ] opentownie as a pr bot
- [ ] give it the ability to see its own client-side and server-side logs by building a middlewa
- [ ] do a browser use or screenshot thing to give it access to its own visual output
- [x] Refactor /backend/index.ts into multiple files
- [x] Format the JSON inside the tool-calls as pretty markdown
- [x] Think as normal markdown
- [x] Show reasoning in a detail
- [x] Consider asking it to write the minimum code possible
- [x] Add caching (post in the vercel ai discussion about how it's not working)
- [ ] Give it a tool to make an HTTP request to its own endpoint to test things!
- [x] Get React Router working on the client & move off localstorage for storing page state
- [ ] When it hits the max number of steps, detect that and give the user a button (or instructi
- [ ] opentownie as a pr bot
- [ ] give it the ability to see its own client-side and server-side logs by building a middlewa
- [ ] do a browser use or screenshot thing to give it access to its own visual output
- [x] Refactor /backend/index.ts into multiple files
- [x] Format the JSON inside the tool-calls as pretty markdown
- [x] Think as normal markdown
- [x] Show reasoning in a detail
- [x] Consider asking it to write the minimum code possible
- [x] Add caching (post in the vercel ai discussion about how it's not working)
- [ ] Give it a tool to make an HTTP request to its own endpoint to test things!
- [x] Get React Router working on the client & move off localstorage for storing page state
- [ ] When it hits the max number of steps, detect that and give the user a button (or instructi
- [ ] opentownie as a pr bot
- [ ] give it the ability to see its own client-side and server-side logs by building a middlewa
- [ ] do a browser use or screenshot thing to give it access to its own visual output
- [x] Refactor /backend/index.ts into multiple files
- [x] Format the JSON inside the tool-calls as pretty markdown
- [x] Think as normal markdown
- [x] Show reasoning in a detail
- [x] Consider asking it to write the minimum code possible
- [x] Add caching (post in the vercel ai discussion about how it's not working)
- [ ] Give it a tool to make an HTTP request to its own endpoint to test things!
- [x] Get React Router working on the client & move off localstorage for storing page state
- [ ] When it hits the max number of steps, detect that and give the user a button (or instructi
- [ ] opentownie as a pr bot
- [ ] give it the ability to see its own client-side and server-side logs by building a middlewa
- [ ] do a browser use or screenshot thing to give it access to its own visual output
- [x] Refactor /backend/index.ts into multiple files
- [x] Format the JSON inside the tool-calls as pretty markdown
- [x] Think as normal markdown
- [x] Show reasoning in a detail
- [x] Consider asking it to write the minimum code possible
- [x] Add caching (post in the vercel ai discussion about how it's not working)
the social feed and installed in users' primary Farcaster clients, enabling seamless access and
- Hono + React + Tailwind
- React Router + React Query
- Built-in database (blob storage)
# React Hono Starter
This app is a starter template for client-side React and server-side Hono.
- The **client-side entrypoint** is `/frontend/index.html`, which in turn imports `/frontend/ind
[React Hono Example](https://www.val.town/x/stevekrouse/reactHonoExample) is a fuller featured e
# React + Hono Starter
A minimal starter template for building client-side React apps with a Hono
backend on Val Town. Click **Remix** to get your own copy.
| --- | --- |
er) | Static HTML pages. Sprinkle of vanilla JS. No server-side rendering. |
r) | Dynamic server-rendered HTML with JSX. API routes. No React, no SPA. |
| **[`react-hono-starter`](https://www.val.town/x/templates/react-hono-starter)** *(you're here)
**Want to build UI?** Start writing React components in
[`frontend/components/`](/frontend/components/). Import them into `App.tsx` and
**Want to add an API?** Add routes in [`index.ts`](/index.ts) (there's a
commented-out example). Fetch them from your React components.
root.tsx ← HTML shell (stamps immutable asset URLs)
index.tsx ← React entrypoint (mounts <App />)
favicon.svg ← App icon
2. **`frontend/root.tsx`** is the HTML shell — it loads Twind and stamps
immutable asset URLs for the favicon and React entrypoint.
3. **`frontend/index.tsx`** mounts the React app.
4. **`frontend/components/App.tsx`** is the root layout — add new components
alongside it.
5. **`frontend/components/Counter.tsx`** is an example stateful component —
- Add a SQLite database — see the
[React Hono Example](https://www.val.town/x/stevekrouse/reactHonoExample) for
a full-stack example with database, queries, and shared types
- [Hono](https://hono.dev/) for routing
- React for SSR'd components
- Vanilla CSS
- A bit of client-side JS via `<script>` (e.g. filter posts by tag)
- Images, videos and whatnot are drag 'n' dropped into markdown (and
description: >-
Some vals experienced lockfile and React errors due to breaking changes in
esm.sh
ed two kinds of errors for our users: lockfile errors and client-side React errors. The first er
als started experiencing lockfile errors. Some vals using client-side React stopped working.
- **4:09am ET** - esm.sh maintainer [announced the changes in the Val Town Discord](https://disc
m ET** - esm.sh begins [rolling back the change related to React version pinning](https://github
- **10:34am ET** - All client-side React vals resume working
- **10:39am ET** - We stopped sending unnecessary lockfile error emails to users (because the lo
#### Client-side React errors
The client-side React errors were unrelated to the lockfile errors, but were also bundled into t
description: >-
Some vals experienced lockfile and React errors due to breaking changes in
esm.sh
ed two kinds of errors for our users: lockfile errors and client-side React errors. The first er
als started experiencing lockfile errors. Some vals using client-side React stopped working.
- **4:09am ET** - esm.sh maintainer [announced the changes in the Val Town Discord](https://disc
m ET** - esm.sh begins [rolling back the change related to React version pinning](https://github
- **10:34am ET** - All client-side React vals resume working
- **10:39am ET** - We stopped sending unnecessary lockfile error emails to users (because the lo
#### Client-side React errors
The client-side React errors were unrelated to the lockfile errors, but were also bundled into t
- [Hono](https://hono.dev/) for routing
- React for SSR'd components
- Vanilla CSS
- A bit of client-side JS via `<script>` (e.g. filter posts by tag)
- Images, videos and whatnot are drag 'n' dropped into markdown (and
description: >-
Some vals experienced lockfile and React errors due to breaking changes in
esm.sh
ed two kinds of errors for our users: lockfile errors and client-side React errors. The first er
als started experiencing lockfile errors. Some vals using client-side React stopped working.
- **4:09am ET** - esm.sh maintainer [announced the changes in the Val Town Discord](https://disc
m ET** - esm.sh begins [rolling back the change related to React version pinning](https://github
- **10:34am ET** - All client-side React vals resume working
- **10:39am ET** - We stopped sending unnecessary lockfile error emails to users (because the lo
#### Client-side React errors
The client-side React errors were unrelated to the lockfile errors, but were also bundled into t
- [Hono](https://hono.dev/) for routing
- React for SSR'd components
- Vanilla CSS
- A bit of client-side JS via `<script>` (e.g. filter posts by tag)
- Images, videos and whatnot are drag 'n' dropped into markdown (and
- [Hono](https://hono.dev/) for routing
- React for SSR'd components
- Vanilla CSS
- A bit of client-side JS via `<script>` (e.g. filter posts by tag)
- Images, videos and whatnot are drag 'n' dropped into markdown (and