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/$%7Bart_info.art.src%7D?q=react&page=832&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 8987 results for "react"(1572ms)

valcontributionchartmain.tsx4 matches

@iamseeley•Updated 8 months ago
1// This approach will fetch data from the specified endpoint, process it to create a GitHub-style contribution chart,
2// and render it using React. We'll use the fetch API to get the data, process it to create a heatmap-like structure,
3// and then use CSS Grid to render the chart with varying shades of green based on the number of vals created each day.
4
5/** @jsxImportSource https://esm.sh/react */
6import React, { useState, useEffect } from "https://esm.sh/react";
7import { createRoot } from "https://esm.sh/react-dom/client";
8
9function App() {

linkInBioTemplatemain.tsx2 matches

@saludes•Updated 8 months ago
1/** @jsxImportSource https://esm.sh/react */
2import { renderToString } from "npm:react-dom/server";
3
4export default async function(req: Request) {

bulletinBoardmain.tsx3 matches

@roramigator•Updated 8 months ago
3// The app uses SQLite for data storage and includes both server-side and client-side components.
4
5/** @jsxImportSource https://esm.sh/react */
6import React, { useEffect, useState } from "https://esm.sh/react";
7import { createRoot } from "https://esm.sh/react-dom/client";
8
9function App() {

religionClickerGamemain.tsx3 matches

@roramigator•Updated 8 months ago
1// This val creates a sarcastic idle clicker game about starting a religion.
2
3/** @jsxImportSource https://esm.sh/react */
4import React, { useEffect, useState } from "https://esm.sh/react";
5import { createRoot } from "https://esm.sh/react-dom/client";
6
7function App() {

valcontributionchartmain.tsx4 matches

@ejfox•Updated 8 months ago
1// This approach will fetch data from the specified endpoint, process it to create a GitHub-style contribution chart,
2// and render it using React. We'll use the fetch API to get the data, process it to create a heatmap-like structure,
3// and then use CSS Grid to render the chart with varying shades of green based on the number of vals created each day.
4
5/** @jsxImportSource https://esm.sh/react */
6import React, { useState, useEffect } from "https://esm.sh/react";
7import { createRoot } from "https://esm.sh/react-dom/client";
8
9function App() {

knowledgeExplorermain.tsx3 matches

@sharanbabu•Updated 8 months ago
4 * and enables exploration of related topics or deeper dives using arrow keys or buttons.
5 */
6/** @jsxImportSource https://esm.sh/react@18.2.0 */
7import React, { useState, useEffect, useCallback } from "https://esm.sh/react@18.2.0";
8import { createRoot } from "https://esm.sh/react-dom@18.2.0/client";
9
10const SUGGESTIONS = ["Quantum Computing", "Renaissance Art", "Climate Change", "Artificial Intelligence", "Space Exploration"];

textSummarizationComparisonToolmain.tsx3 matches

@sharanbabu•Updated 8 months ago
8 */
9
10/** @jsxImportSource https://esm.sh/react */
11import React, { useEffect, useState } from "https://esm.sh/react";
12import { createRoot } from "https://esm.sh/react-dom/client";
13
14function App() {

typingTestSpectrogrammain.tsx3 matches

@ejfox•Updated 8 months ago
3// TailwindCSS is used for styling.
4
5/** @jsxImportSource https://esm.sh/react */
6import React, { useState, useEffect, useRef } from "https://esm.sh/react";
7import { createRoot } from "https://esm.sh/react-dom/client";
8
9function App() {

exponentialBackoffMiddlewaremain.tsx2 matches

@stevekrouse•Updated 8 months ago
1/** @jsxImportSource npm:preact */
2import { render } from "npm:preact-render-to-string";
3
4/**

valleBlogV0main.tsx3 matches

@trantion•Updated 8 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() {

vt-discord4 file matches

@boucher•Updated 3 days ago
Starter template with client-side React & Hono server

diceRollerUI1 file match

@dcm31•Updated 3 days ago
A web-based dice roller using React on Val Town
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