mattpocockuk - 1591047557702389760
Last updated
Last updated
Matt Pocock ✈️ Modern Frontends (@mattpocockuk) - November 11, 2022 at 8:37 PM
🔥 TypeScript Tip 🔥
If you're feeling like a function you're writing is lacking flexibility, try PASSING IT A FUNCTION.
This is called 'Inversion of control', and it lets you write dainty little API's which give full control over to the users of your function. pic.twitter.com/OQnuIMkWV4
https://user-images.githubusercontent.com/870029/206738481-8f0f8729-2ef1-4b1f-8ad4-4cdd801bcbaa.mp4