I'm building a next.js app that generates some random numbers which generates the warning:
Warning: Text content did not match. Server: "1" Client: "2"
I think I understand why I get this warning (the virtual DOM is kinda-sorta-out-of-sync with what was sent from the server). I'm just wondering if there's a way to let next.js/React know that this is ok in this situation. Or is there a way to only generate the random on the server and let the client use this as a literal?
Or should I just ignore the warning?