• Blog
  • Docs
  • Pricing
  • We’re hiring!
Log inSign up
lightweight

lightweight

stainlessTodoSweeper

Remix of lightweight/todoSweeper
Public
Like
stainlessTodoSweeper
Home
Code
10
.claude
1
backend
6
frontend
4
shared
3
.vtignore
AGENTS.md
CLAUDE.md
README.md
deno.json
H
main.http.tsx
Branches
1
Pull requests
Remixes
History
Environment variables
20
Val Town is a collaborative website to build and scale JavaScript apps.
Deploy APIs, crons, & store data – all from the browser, and deployed in milliseconds.
Sign up now
Code
/
frontend
/
README.md
Code
/
frontend
/
README.md
Search
…
README.md

Frontend

This directory contains the React frontend for the Notion webhook integration application.

Structure

  • index.html - HTML shell that loads the React app
  • index.tsx - React app entry point
  • components/ - React components
    • App.tsx - Main application component
    • NotionBlock.tsx - Renders Notion block content
    • NotionProperty.tsx - Displays Notion page properties

React Configuration

IMPORTANT: All React files must:

  1. Include /** @jsxImportSource https://esm.sh/react@18.2.0 */ at the top
  2. Pin React dependencies to version 18.2.0: ?deps=react@18.2.0
  3. Use consistent React version across all imports

Styling

Uses Pico CSS (classless CSS framework loaded from CDN in index.html). Pico automatically styles semantic HTML elements without requiring CSS classes, keeping markup clean and maintainable.

API Communication

  • Fetch data from /api/* endpoints
  • Use shared types from ../shared/types.ts
  • Handle loading and error states in components

Error Handling

The error catching script is included in index.html to capture client-side errors for better debugging.

Development

Since this is a Val Town project, the frontend is served through Hono routes defined in main.http.tsx.

FeaturesVersion controlCode intelligenceCLIMCP
Use cases
TeamsAI agentsSlackGTM
DocsShowcaseTemplatesNewestTrendingAPI examplesNPM packages
PricingNewsletterBlogAboutCareers
We’re hiring!
Brandhi@val.townStatus
X (Twitter)
Discord community
GitHub discussions
YouTube channel
Bluesky
Open Source Pledge
Terms of usePrivacy policyAbuse contact
Β© 2026 Val Town, Inc.