What is thunk function?

In computer programming, a thunk is a subroutine used to inject a calculation into another subroutine . Thunks are primarily used to delay a calculation until its result is needed, or to insert operations at the beginning or end of the other subroutine.

Sizin İçin Seçtik  How do I get Redux to update my state?

Leave a Reply

Your email address will not be published. Required fields are marked *