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/$%7Bsuccess?q=react&page=740&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 10568 results for "react"(1968ms)

reactRouter7layout.server.ts1 match

@justbe•Updated 3 months ago
1import { ActionFunctionArgs, type LoaderFunctionArgs } from "npm:react-router";
2
3let db = { message: "Hello world!" };

reactRouter7layout.client.ts1 match

@justbe•Updated 3 months ago
1import { type LoaderFunctionArgs } from "npm:react-router";
2
3export async function loader({ request }: LoaderFunctionArgs) {

reactRouter7index.ts1 match

@justbe•Updated 3 months ago
1import { ActionFunctionArgs, LoaderFunctionArgs } from "npm:react-router";
2import aboutLoader from "./about.loader.ts";
3import About from "./about.tsx";

reactRouter7home.tsx1 match

@justbe•Updated 3 months ago
1/** @jsxImportSource npm:react */
2
3export default function Home() {

reactRouter7entry.server.tsx3 matches

@justbe•Updated 3 months ago
1/** @jsxImportSource npm:react */
2import { renderToString } from "npm:react-dom/server";
3import { createStaticHandler, createStaticRouter, StaticRouterProvider } from "npm:react-router";
4
5import routes from "./routes/index.ts";

reactRouter7entry.client.tsx4 matches

@justbe•Updated 3 months ago
1import { createElement, StrictMode } from "npm:react";
2import { hydrateRoot } from "npm:react-dom/client";
3import { createBrowserRouter } from "npm:react-router";
4import { RouterProvider } from "npm:react-router/dom";
5import routes from "./routes/index.ts";
6

reactRouter7about.loader.ts1 match

@justbe•Updated 3 months ago
1import { data } from "npm:react-router";
2
3export default async function load() {

valentinemain.tsx3 matches

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

valentine_sabelomain.tsx3 matches

@devSlayer•Updated 3 months ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
3import React, { useEffect, useState } from "https://esm.sh/react@18.2.0";
4
5const NO_PHRASES = [

valentinemain.tsx3 matches

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

StarterPackFeeds11 file matches

@moe•Updated 1 day ago
Hono + React + Tailwind + Farcaster Mini App Starter Project

reactHonoStarter4 file matches

@Janane_CM•Updated 1 day ago
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