import { createSignal } from 'solid-js'; import type { Component } from 'solid-js'; const App: Component = () => { const [count, setCount] = createSignal(0) const handleCounter = (type: 'INC' | 'DEC') => { if(type === 'INC'){ setCoun...

Markdown supported · ⌘↵ to post
No responses yet.