Noah Dela Rosa

Results 4 comments of Noah Dela Rosa

> The parameter to `useSignal` is probably meant like the parameter on `useState`. The similarities between `useSignal` and `useState` does make sense. However, I would argue that extending the funtionality...

> You can also pass a signal as prop rather than a value. It's similar how with `useState` you'd pass the value and setState function to a child component. Thanks...

> I think maybe it'd make sense for useComputed to also accept a deps argument That could be an option as well. Tbh, one part I like about `useComputed` is...

> The implementation could be like the bellow. > > ```ts > export function useSignal(value: T) { > const $signal = useRef(); > return $signal.current ??= signal(value); > } >...