Next.js Interview Questions and Answers
Question: Explain the purpose of the 'publicRuntimeConfig' object in Next.js.Answer: The 'publicRuntimeConfig' object in Next.js allows you to expose environment variables to the client-side code. It is a way to share configuration between server and client. |
Save For Revision
Bookmark this item, mark it difficult, or place it in a revision set.
Log in to save bookmarks, difficult questions, and revision sets.
Is it helpful? Yes No
Most helpful rated by users: