-
Hi, I am trying to add facebook to my app. I code like below, I am trying to lazy load FB comment by use dynamic, but I see Facebook comment re-render too often so I use useMemo. It run pretty ok, but if I Go to homepage and back to mypost page, FB comment disapear... Finding a solution to implement FB comment. Thank you.
Here is Facebook comment component comments-facebook.js
|
Beta Was this translation helpful? Give feedback.
Answered by
sergiodxa
Jun 26, 2020
Replies: 1 comment 1 reply
-
How is this related to SWR? I think you are not using SWR in your code, I think you may want to open this in the Next.js repository. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
IRediTOTO
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How is this related to SWR? I think you are not using SWR in your code, I think you may want to open this in the Next.js repository.