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/image-url.jpg%20%22Image%20title%22?q=react&page=1479&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 16000 results for "react"(1524ms)

lazyCookmain.tsx3 matches

@dxaginfo•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function App() {

savvyTealCardinalmain.tsx3 matches

@dxaginfo•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { marked } from "https://esm.sh/marked@4.3.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
4import React, { useEffect, useRef, useState } from "https://esm.sh/react@18.2.0";
5
6function ConfirmationModal({ isOpen, onClose }) {

tiny_jest_examplemain.tsx3 matches

@willthereader•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4import { expect, prettify, Test } from "https://esm.sh/tiny-jest@1.1.1";
5

fizzBuzzTestmain.tsx3 matches

@willthereader•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5const fizzBuzzTest = `

cors_examplemain.tsx4 matches

@stevekrouse•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { useState } from "https://esm.sh/react@18.2.0";
3import react_http from "https://esm.town/v/stevekrouse/react_http?v=3";
4
5const BASE_URL = "https://stevekrouse-cors_example_backend.web.val.run";
35}
36
37export default react_http(App, import.meta.url);

AboutNoelandLiammain.tsx3 matches

@richi1969•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5function FAQ({ question, answer }) {

OasisDiscographymain.tsx3 matches

@richi1969•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5const OasisBandInfo = {

blueskyPostButtonmain.tsx3 matches

@lukedenton•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { BskyAgent } from "https://esm.sh/@atproto/api";
3import React, { useState } from "https://esm.sh/react";
4import { createRoot } from "https://esm.sh/react-dom/client";
5
6function App() {

ThankYouNoteGeneratormain.tsx4 matches

@prashamtrivedi•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4import React, { useEffect, useState } from "https://esm.sh/react";
5import { createRoot } from "https://esm.sh/react-dom/client";
6
7function ThankYouCard({ note, theme, font, recipientName, senderName }) {

adventurousApricotGophermain.tsx3 matches

@deffgod•Updated 6 months ago
1/** @jsxImportSource https://esm.sh/react */
2import React, { useState, useEffect } from "https://esm.sh/react";
3import { createRoot } from "https://esm.sh/react-dom/client";
4
5// Video Course Types
hanabi

hanabi3 file matches

@jxnblk•Updated 4 hours ago
React Router for Hono in Val Town
Discord-to-Linear

Discord-to-Linear4 file matches

@charmaine•Updated 23 hours ago
Discord -> Linear ticket based on emoji reaction trigger
effector
Write business logic with ease Meet the new standard for modern TypeScript development. Type-safe, reactive, framework-agnostic library to manage your business logic.
officialrajdeepsingh
Follow me if you learn more about JavaScript | TypeScript | React.js | Next.js | Linux | NixOS | Frontend Developer | https://linktr.ee/officialrajdeepsingh