Skip to content

Latest commit

History

History
16 lines (12 loc) 路 833 Bytes

mattpocockuk - 1591047557702389760.md

File metadata and controls

16 lines (12 loc) 路 833 Bytes
author handle source date
Matt Pocock 鉁堬笍 Modern Frontends
@mattpocockuk
2022-11-11 12:37:52 UTC

mattpocockuk 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

Tweet link