A
A
Alexey Nevzorov2019-09-26 10:32:44
React
Alexey Nevzorov, 2019-09-26 10:32:44

What are the disadvantages of next.js?

I could not find serious online stores on the next.js framework, a significant part of those presented on the official website are buggy or not working at all. Yandex used it only on some landing page. Ozon chose nuxt.js for himself, as far as I understand they (frameworks) should be similar to each other in many ways. Why is nextjs not popular?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
I
Invision70, 2019-09-26
@Invision70

I recently decided to make a small project on nextjs. I took everything out of the box with Redux.
Most likely I'm clumsy, but here are the problems I encountered:
1. The packaged Docker image weighs 600MB+! There is nothing heavy in my project, layout, 15 pages and text.
Googled the solution to pack the build in pkg. Followed all the instructions, killed 1 day, and could not start. In / snapshot for some unknown reason there is no .next folder inside the package, package.json configured and did not help, googling did not give proper results.
2. According to incomprehensible logic, the build works on the back. Sometimes the link transition is instantaneous as it should be "on a thick client", but sometimes the transition freezes for 3-5 seconds and the nextjs preloader appears on the right and noticeably dulls, although the page has already been built before.
You can throw next.js guru slippers at me, but take the product out of the box and fuck with problems that I shouldn't even think of as such an undertaking.
For those to whom JS is a panacea for everything and for everything, the product will obviously come in.

T
ThemeZV, 2019-09-26
@ThemeZ

  1. Big guys like Yandex can use self-written SSR, for several reasons
    • It's not hard to write your own solution. If it is possible to support, then it is more pleasant to support your own than to rely on vendors.
      As a result: you can start writing on Next, but abstract from it. In which case, almost without any problems to move out on your own.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question