microsoft / Microsoft-Fabric-workload-development-sample

Demonstrates how to implement a Microsoft Fabric workload in .net and typescript
Other
30 stars 17 forks source link

add explanation for importance of useEffect hook in callback registration #90

Closed michal-mano closed 2 months ago

michal-mano commented 2 months ago

Add comment explaining that callback functions should be registered once, and thus they are wrapped in a useEffect hook with no dependencies.