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/$1?q=react&page=3&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 12532 results for "react"(946ms)

Smart_Expense_TrackerTravelPlanner.tsx2 matches

@gunjana_04โ€ขUpdated 8 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import { formatCurrency, calculateMonthlySavingsNeeded } from "../../shared/utils.ts";
4

Smart_Expense_TrackerGoalTracker.tsx3 matches

@gunjana_04โ€ขUpdated 8 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import { GOAL_CATEGORIES, formatCurrency, formatDate, calculateDaysToGoal, calculateMonthlySavingsNeeded } from "../../shared/utils.ts";
4
46 }, [refreshTrigger]);
47
48 const handleSubmit = async (e: React.FormEvent) => {
49 e.preventDefault();
50

Smart_Expense_TrackerExpenseForm.tsx3 matches

@gunjana_04โ€ขUpdated 8 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import { EXPENSE_CATEGORIES, formatCurrency, formatDate, getCategoryEmoji } from "../../shared/utils.ts";
4
36 }, [refreshTrigger]);
37
38 const handleSubmit = async (e: React.FormEvent) => {
39 e.preventDefault();
40

Smart_Expense_TrackerDashboard.tsx2 matches

@gunjana_04โ€ขUpdated 8 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import { formatCurrency, formatDate, getCategoryEmoji } from "../../shared/utils.ts";
4

Smart_Expense_TrackerApp.tsx2 matches

@gunjana_04โ€ขUpdated 8 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState, useEffect } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import Dashboard from "./Dashboard.tsx";
4import ExpenseForm from "./ExpenseForm.tsx";

Smart_Expense_Trackerindex.tsx4 matches

@gunjana_04โ€ขUpdated 8 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3import { createRoot } from "https://esm.sh/react-dom@18.2.0/client?deps=react@18.2.0,react-dom@18.2.0";
4import App from "./components/App.tsx";
5
6// Initialize the React app
7const root = createRoot(document.getElementById("root")!);
8root.render(<App />);

Smart_Expense_Trackerindex.html1 match

@gunjana_04โ€ขUpdated 8 hours ago
76 </div>
77
78 <!-- React and app scripts -->
79 <script type="module" src="/frontend/index.tsx"></script>
80</body>

untitled-9454README.md3 matches

@Varun07โ€ขUpdated 8 hours ago
1# Login Page
2
3A complete authentication system with login and registration functionality built with React and Hono.
4
5## Features
25โ”œโ”€โ”€ frontend/
26โ”‚ โ”œโ”€โ”€ index.html # Main HTML template
27โ”‚ โ”œโ”€โ”€ index.tsx # React app entry point
28โ”‚ โ””โ”€โ”€ components/
29โ”‚ โ”œโ”€โ”€ App.tsx # Main app component
71## Technology Stack
72
73- **Frontend:** React 18, TailwindCSS
74- **Backend:** Hono, SQLite
75- **Platform:** Val Town

untitled-9454Dashboard.tsx2 matches

@Varun07โ€ขUpdated 8 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3
4interface User {

untitled-9454LoginForm.tsx3 matches

@Varun07โ€ขUpdated 8 hours ago
1/** @jsxImportSource https://esm.sh/react@18.2.0 */
2import React, { useState } from "https://esm.sh/react@18.2.0?deps=react@18.2.0";
3
4interface LoginFormProps {
15 const [success, setSuccess] = useState("");
16
17 const handleSubmit = async (e: React.FormEvent) => {
18 e.preventDefault();
19 setError("");

reactHonoStarter4 file matches

@lightweightโ€ขUpdated 7 hours ago

reactHonoStarter4 file matches

@stdโ€ขUpdated 9 hours ago
Starter template with client-side React & Hono server
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