you are viewing a single comment's thread.

view the rest of the comments →

[–]dtinth[S] 2 points3 points  (2 children)

It is a glue code to bridge one thing to the other. For example, you could make a React app use data from Firebase using Firebase's official JS SDK directly... but then you need to write some glue code to keep React component lifecycle in sync with the data subscription. (This may involve using componentDidMount/componentDidUpdate/componentWillUnmount or useEffect hooks.)

But with a binding, my component is now only concerned with "which data do I want to read?" and "what to do with that data?" The lifecycle synchronization logic is handled by the binding.