molecule-dev/molecule
View on GitHub ↗ ★ 44 TypeScript
Open-source, composable full-stack packages an AI can wire correctly. Swap any provider in one line. Export anytime.
3 mentions on Hacker News by 1 person: 0 stories, 3 comments · first 2021-12-17 · latest 2021-12-17
20082026
-
…(with no arguments) if you don't want an error. You can find the code for the hooks here: https://github.com/Molecule-dev/molecule-app/tree/_e745872f9... I'll add a direct link to that too. I really appreciate the feedback.
comment by loh · 2021-12-17 · in Two custom React hooks -
…state exists on its own at the top level of the app, as a composition of stateful hooks. See here: https://github.com/Molecule-dev/molecule-app/tree/6e2456e216... Every possible API request also exists on its own outside of anything React…
comment by loh · 2021-12-17 · in Two custom React hooks -
> how do people test this You can find the tests for these hooks here: https://github.com/Molecule-dev/molecule-app/tree/6e2456e216... Is that what you're asking about?
comment by loh · 2021-12-17 · in Two custom React hooks