Commit Graph

7 Commits

Author SHA1 Message Date
7123b5429b Generated by Spark: Implement redux 2026-01-17 20:58:00 +00:00
d7c86f62c2 Generated by Spark: Find a way to make it run Python code - my dad likes to do Euler problems and other code challenges. Maybe there's a good node lib that can simulate Python 3. Add some Python examples to template lib. 2026-01-17 18:54:12 +00:00
6fbe7b4ed0 Generated by Spark: Reduce reliance on spark database. Just use sqlite. 2026-01-17 17:59:46 +00:00
b920414fe2 Generated by Spark: React useState Hook
TSX
Basic state management in React functional components

Last updated: 17/01/2026, 17:24:26

Hide Preview
Copy
Edit

123456789101112
Unexpected token '<'

Ask AI for Helpimport { useState } from 'react'

function Counter() {
  const [count, setCount] = useState(0)

  return (
    <div>
      <p>Count: {count}</p>
      <button onClick={() => setCount(count + 1)}>Increment</button>
    </div>
  )
}Preview Configuration
Add Parameter
Counter
The name of the function or component to render. Leave empty to use the default export.
2026-01-17 17:28:09 +00:00
f41792776b Generated by Spark: Add routes and hamburger menu on left, lists of pages and break it up 2026-01-17 16:44:20 +00:00
ea56ab7754 Generated by Spark: Implement monaco editor with lazy loading 2026-01-17 14:39:28 +00:00
27c6069518 Add spark configuration 2026-01-17 14:23:21 +00:00