Skip to content

Instantly share code, notes, and snippets.

View Kampouse's full-sized avatar
🎯
Focusing on nothing

Jean-philippe Martel Kampouse

🎯
Focusing on nothing
View GitHub Profile
@Kampouse
Kampouse / main.tsx
Created April 12, 2023 20:47
Logic-pull-cards
import { Component, createSignal } from 'solid-js';
import { For, Show } from 'solid-js';
import logo from './logo.svg';
import styles from './App.module.css';
const App: Component = () => {
const [isOn, setOn] = createSignal(false);
const [getCard, setCards] = createSignal([1, 2, 3, 4, 5, 6, 7, 8, 9, 10]);
const [getCount, setCount] = createSignal(5);