Val Town Code SearchReturn to Val Town

API Access

You can access search results via JSON API by adding format=json to your query:

https://codesearch.val.run//%22?q=react&page=1&format=json

For typeahead suggestions, use the /typeahead endpoint:

https://codesearch.val.run/typeahead?q=react

Returns an array of strings in format "username" or "username/projectName"

Found 21590 results for "react"(949ms)

Github user's stars (pagination)436 words

https://docs.val.town/integrations/github/github-users-stars-pagination/
"https://esm.town/v/vtdocs/getGithubStars"; console.log(await getGithubStars("stevekrouse")); Email yourself when you get a comment reaction! Section titled “Email yourself when you get a comment reaction!” Create a GitHub personal access token: https://github.com/settings/personal-access-tokens/new. Give it

Sections

Email yourself when you get a comment reaction!

you get a comment reaction! Section titled “Email yourself when you get a comment reaction!” Create a GitHub personal access token: https://github.com/settings/personal-access-tokens/new. Give it permissions to the repositories that you’re

HTML & JSX116 words

https://docs.val.town/vals/http/jsx/
of your file: /** @jsxImportSource https://esm.sh/react */ React. Section titled “React” We recommend using React: Preact. Section titled “Preact” Preact is a great alternative to React: Vue. Section titled “Vue”

Sections

HTML & JSX

Preact, the pragma will look like this at the top of your file: /** @jsxImportSource https://esm.sh/react */

React

React. Section titled “React” We recommend using React:

Preact

Preact. Section titled “Preact” Preact is a great alternative to React:

Saving data from a web page521 words

https://docs.val.town/guides/saving-data-from-a-web-page/
is a remix of the above app that uses client-side React to make the API calls: You could easily host the React part anywhere (Vercel, Netlify, etc) and have it

Sections

Blob storage

is a remix of the above app that uses client-side React to make the API calls: You could easily host the React part anywhere (Vercel, Netlify, etc) and have it

SQLite example

will leave it as an exercise to an ambitious and helpful reader to convert the React demo to use SQLite and submit a PR to this docs page. Note: we

Your first website255 words

https://docs.val.town/quickstarts/first-website/
about this page. This is a guide to making a website on Val Town using React JSX, such as a link-in-bio page or a personal website. Step 1: Sign up

Sections

Your first website

about this page. This is a guide to making a website on Val Town using React JSX, such as a link-in-bio page or a personal website.

eventsCalendarlogs.tsx2 matches

@roop•Updated 1 hour ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3import { sqlite } from "https://esm.town/v/std/sqlite";
4

TopTenVideospremium-input-iframe.html2 matches

@pmapower•Updated 2 hours ago
108 </label>
109 <input type="text" id="customSubNiche" name="customSubNiche"
110 placeholder="e.g., React tutorials, Vegan recipes..."
111 class="w-full px-3 py-2 border border-gray-300 rounded-md shadow-sm focus:outline-none focus:ring-2 focus:ring-purple-500 focus:border-purple-500">
112 </div>
268 gaming: ['Game Reviews', 'Let\'s Play', 'Gaming News', 'Esports', 'Game Development', 'Mobile Gaming', 'Retro Gaming', 'Gaming Hardware'],
269 education: ['Online Courses', 'Language Learning', 'Math Tutorials', 'Science Experiments', 'History Lessons', 'Study Tips', 'Test Preparation', 'Educational Kids Content'],
270 entertainment: ['Movie Reviews', 'Comedy Skits', 'Reaction Videos', 'Celebrity News', 'TV Show Recaps', 'Stand-up Comedy', 'Viral Challenges', 'Pop Culture'],
271 lifestyle: ['Home Decor', 'Organization Tips', 'Minimalism', 'Self Improvement', 'Productivity', 'Morning Routines', 'Life Hacks', 'Personal Development'],
272 fitness: ['Workout Routines', 'Nutrition Tips', 'Weight Loss', 'Yoga', 'Bodybuilding', 'Running', 'Mental Health', 'Healthy Recipes'],

glimpse2-runbook-view-glimpse-save-login-react19 file matches

@lightweight•Updated 4 hours ago

wa-hono-react4 file matches

@nbbaier•Updated 1 day ago
react
franky47
Freelance software engineer, open-sourcerer, speaker. Building `nuqs`, a type-safe search params state manager for React.