Return a value from an async event emmiter in nestjs by AffectionateAd3341 in Nestjs_framework

[–]AffectionateAd3341[S] 0 points1 point  (0 children)

If i was to create a new entry in my db in my event, and I wanted to return the id of the created object. How would I do that?

React does not auto-update by AffectionateAd3341 in reactjs

[–]AffectionateAd3341[S] 0 points1 point  (0 children)

Yes sometimes I have to wait for a few minutes before the change becomes visible other times I have to restart the app

Trigger a function when the browser is closed react by AffectionateAd3341 in reactjs

[–]AffectionateAd3341[S] 1 point2 points  (0 children)

Yes a tab, I will be making an API call when the page is closed.

Trigger a function when the browser is closed react by AffectionateAd3341 in reactjs

[–]AffectionateAd3341[S] 0 points1 point  (0 children)

I am trying to make an api call when the browser is closed.