![import { createContext, useMemo, use } from 'react'; const MyContext = createContext({ foo: '', bar: 0, }); const useFoo = () => { return useMemo(() => { const { foo } = use(MyContext); return foo; }, []); }; will only re-render if foo changes in context, not if bar changes 🤯 🚨 this doesn't work right now, but might in the future](https://pbs.twimg.com/media/GCn19kIWsAACe0I.jpg?name=small&format=webp)
ALT import { createContext, useMemo, use } from 'react'; const MyContext = createContext({ foo: '', bar: 0, }); const useFoo = () => { return useMemo(() => { const { foo } = use(MyContext); return foo; }, []); }; will only re-render if foo changes in context, not if bar changes 🤯 🚨 this doesn't work right now, but might in the future

ALT Pictures of David from schitt's Creek in the first one he has a blank expression on his face and the caption says what and the second one he kind of has a gross look on his face and the caption says this isn't happening and the third one he has a disgusted look on his face and the caption reads oh God it's happening in the fourth one he has a yikes look on his face and it says someone messed up in the fifth one he has a yikes and disgusted look on his face and it says uh-oh I think I messed up and in the last frame he is facepalming in the caption reads dammit I'm an idiot











![naive nodejs dockerfile --- FROM node COPY . . RUN npm install CMD [ "node", "index.js" ]](https://pbs.twimg.com/media/Fq3SzdjaEAE1vnR.jpg?name=small&format=webp)














