Rendering html in API doesn't make much sense. Best way is to include that render information in your API response.
If you have deeply nested components, you should use global state management or context API (useContext and Provider) to make the props available.
But since you are using Next.js, you…
Top comments (0)