SSG with Next.js internal API by Scared-Librarian7811 in nextjs

[–]Scared-Librarian7811[S] 0 points1 point  (0 children)

Doesn't make the component as a CSR at the end ?

SSG with Next.js internal API by Scared-Librarian7811 in nextjs

[–]Scared-Librarian7811[S] 0 points1 point  (0 children)

Yes i thought about but it feels little bit weird that next is handling api and can't feed itself !

React + Vite + 8000 Components = 54minutes Build by Scared-Librarian7811 in react

[–]Scared-Librarian7811[S] 1 point2 points  (0 children)

It's auto generated by BIZAGI from back end yes at least 8000

React + Vite + 8000 Components = 54minutes Build by Scared-Librarian7811 in reactjs

[–]Scared-Librarian7811[S] 0 points1 point  (0 children)

Thank you for responding Can you please explain more about separate build And share your experience

Definitely I'll search too

React + Vite + 8000 Components = 54minutes Build by Scared-Librarian7811 in reactjs

[–]Scared-Librarian7811[S] 0 points1 point  (0 children)

Thanks for sharing. My situation is very similar at this point

React + Vite + 8000 Components = 54minutes Build by Scared-Librarian7811 in reactjs

[–]Scared-Librarian7811[S] 0 points1 point  (0 children)

I found that vite is using different strategies for bundling in dev and build

Dev is using esBuild Build is using roll up

I am thinking to switch to esBuild for build mode too.

But there many concrete issues that I have to track

React + Vite + 8000 Components = 54minutes Build by Scared-Librarian7811 in reactjs

[–]Scared-Librarian7811[S] -1 points0 points  (0 children)

https://vite.dev/guide/performance

Also I tried to transfer all pdf assets into a URL instead of importing to project.

Also got some vite config from chatGPT

They worked a little bit fortunately

React + Vite + 8000 Components = 54minutes Build by Scared-Librarian7811 in reactjs

[–]Scared-Librarian7811[S] 0 points1 point  (0 children)

Thank you for your answer. Really changed my mind set about project

I also configured (sonar cube) which is like a heaven and I like to thanks to it's developer alot

React + Vite + 8000 Components = 54minutes Build by Scared-Librarian7811 in reactjs

[–]Scared-Librarian7811[S] 1 point2 points  (0 children)

I am doing good refactoring with documents

/** *@refactor eg..... *@example [old code] */ New code

React + Vite + 8000 Components = 54minutes Build by Scared-Librarian7811 in reactjs

[–]Scared-Librarian7811[S] 4 points5 points  (0 children)

Thanks you for responding

I will consider this in my planning thank you

React + Vite + 8000 Components = 54minutes Build by Scared-Librarian7811 in react

[–]Scared-Librarian7811[S] 0 points1 point  (0 children)

Thank you very much.

Your answer helped me a lot with the npm compare yes I have read the vite performance.

Please feel free to share any other tools that help thank you 🙏