Can I Build a Web App with Next.js, AdonisJS, and Inertia?

0
0
Asked By CleverCactus42 On

I'm working on an assignment to create a web application using Next.js, AdonisJS, and Inertia, but I have no prior experience with any JavaScript frameworks. I've been advised that it's not feasible to use all three together, and that I should choose either Next.js with AdonisJS or Adonis with Inertia and React. I'm looking for some guidance on what my best course of action is here.

3 Answers

Answered By FrontendFanatic33 On

It really depends on what kind of application you're aiming to build. If it's something like a dashboard that doesn't need to be indexed by search engines, you might be better off just using React with Vite along with either AdonisJS or another backend solution. But, if SEO is important, then you’d want to really look into using Next.js for server-side rendering. Both frameworks have their advantages, but you should go with whichever fits your project goals better!

Answered By TechSavvyDude89 On

You're right that combining Next.js and AdonisJS isn't the best idea since they're built for different purposes. Next.js is more for serverless applications while AdonisJS follows an MVC approach, usually requiring a server setup. If I were you, I’d lean towards using Next.js instead of jamming all three together. You might find it a lot easier, especially since Next.js has tons of documentation available which is great for beginners!

CuriousCoder98 -

Totally agree! Next.js is much simpler to grasp for someone starting out. The resources available make learning way easier!

JavaNerd28 -

Yeah, but don't forget that if you need server capabilities, you might actually consider benefits of AdonisJS too. It’s really about what your project needs.

Answered By DevDude101 On

If you’re planning on diving into backend development and learning a lot about how servers work, AdonisJS is a great choice as it covers so many concepts applicable across other languages. But if you're mainly looking to get a job in frontend development, Next.js is currently in high demand and would probably serve you better in the job market. Just think about your career goals when deciding!

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.