Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Hooks implementation pseudocode by @jamiebuilds
// Originally written by @jamiebuilds
let hooks = null;
export function useHook() {
function reactInternalRenderAComponentMethod(component) {
hooks = [];
let hooksForThisComponent = hooks;
hooks = null;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.