Hook for updating page on postgres database change
Unanswered
Pollock posted this in #help-forum
PollockOP
Hey, i have a fastapi postgres backend, and a GET endpoint that returns me the current content list in the database,
which hook do i need to use to update the page on database change? Rn im trying it with useEffect but i think its wrong?
which hook do i need to use to update the page on database change? Rn im trying it with useEffect but i think its wrong?
1 Reply
PollockOP
coz there is nothing to trigger the useeffect funtion