Demonstrating various ways of importing dynamically-generated React components in NextJS.
The best example is the last one: From any string of Typescript React code, at runtime, A NextJS API route generates executable react components that can be imported and used in the app.