Modify HTML before sending to browser #79339
Unanswered
anjan-kp
asked this question in
App Router
Replies: 1 comment
-
Just curious, why wouldn't you do this in your source code? That being said, middleware in Next.js is not designed for that. And also React tends to raise hydration errors. See this issue, #78956 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
I am trying to modify html before sending to browser.
I am trying to replace all ® [registered mark] with ® ..
That means ® should be available when I check view-source of the page.
Can I achieve it using middleware OR custom server?
Thanks in advance!
Beta Was this translation helpful? Give feedback.
All reactions