Skip to content

Instantly share code, notes, and snippets.

View ZanzyTHEbar's full-sized avatar
👨‍💻
Doing the codes

DaOfficialWizard ZanzyTHEbar

👨‍💻
Doing the codes
View GitHub Profile
@ZanzyTHEbar
ZanzyTHEbar / resizer.tsx
Last active April 28, 2024 19:17
Resizing Component in SolidJS
import { throttle } from '@solid-primitives/scheduled'
import {
splitProps,
createSignal,
createEffect,
onCleanup,
JSXElement,
type Component,
type ComponentProps,
children,
#include "StateManager.hpp"
StateManager<State_e> StateManager_Device;
StateManager<ButtonState_e> StateManager_Buttons;
StateManager<MotorState_e> StateManager_Motor;