Introduction
Following a recent announcement by the millionjs creator Aiden Bai about support of Millionjs for Nextjs apps in the newest...
For further actions, you may consider blocking this person and/or reporting abuse
Looks amazing. Thanks for the article. Is there any reason not to wrap all your components with block? Also, why not wrap the Home component in this example? And if you wrap a component that has child components, do all child components get processed by the Million virtual DOM?
Yep! It isn't exactly necessary to wrap all components with the block() componentt, but, it's very good if you do. The optimization is insane, although Millionjs has some limitations and it isn't totally a one size fits all solution
Great question, can you inform us if you can find any answer?
will do
I hope the above answers your questions
Yes, thanks for the answer.
Sure thing! Pleasure is all mine.
Wow,what a detailed Article. Thanks for sharing😇
Thank you very much boss!
great article.
I gotta try millionJS.
Thank you very much Amrin!
theres this error with the nextjs versions 13.5 and above. It says "Page "src/app/page.tsx" has an invalid "default" export:
Type "MillionProps" is not valid."
I created using create-next-app@latest
what are the most latest compatible versions? am i doing it wrong?
I keep having the same error when importing million to next.config.js:
SyntaxError: Cannot use import statement outside a module
I already had this error in another project and solved it with a decorator but it was a component decorator. Does anyone know any other way to fix this ?