Latihan 1: Custom Primitives — SolidJS

Latihan 1 dari materi Custom Primitives di SolidJS — praktek dengan editor kode interaktif, test case otomatis, dan hint terpandu. Langsung jalan di browser.

Buat primitive buatan sendiri bernama createCounter:

Hint