Comment

Comment by atis

Pass the things returned from useReducer() hook (state object + dispatch function) down via context. Then useContext() in child components.
parent atis 7 years ago

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton