Why I Don't Use NextJS For My Side Project Anymore
Ғылым және технология
I developed my side project in NextJS initially. However, I completely rebuilt it after deciding it was not the best solution.
⭐ Our startup: wordful.ai
⭐ My GitHub: github.com/joschan21
The stuff I use to make my videos
Camera: amzn.to/3XcqRKO
Light: amzn.to/3Xc1yIE
Keyboard: amzn.to/3CKxnAi
Mouse: amzn.to/3CNcfcm
Microphone: amzn.to/3iybVHC
Headphones: amzn.to/3IHTTgH
thats pretty much it. Those are affiliate links so I might earn a commission if you purchase after clicking them. :^)
Пікірлер: 103
my advice just pick one thing you like and keep doing it. don't jump into every shiny new framework because you'll never get anything done.
@Andrew-qc8jh
Жыл бұрын
I'm here as a threejs developer being enticed by nextjs....no dice
@owenwexler7214
11 ай бұрын
Problem is that one thing isn't suited for every project. Using NextJS for a small app that gets and displays info from a weather API or a portfolio site for example is ludicrous overkill.
@TheDeprecatedLibrarian
9 ай бұрын
@@Andrew-qc8jh What?
@Andrew-qc8jh
9 ай бұрын
@@TheDeprecatedLibrarian I was replying to OP where I was relating that I have shiny toy syndrome with next js. "No dice" meaning this is no good
@DnKZone
7 ай бұрын
what if you get bored?😂
It's all about the learning curve. You want to use a lot of frameworks or libraries, but the problem is that it takes too much time from us learning them, and if they change versions or change their structure, you have to learn them again. Even though programmers are constantly learning, you can't use different frameworks for every different projects.
@Bliss..
2 ай бұрын
hence concept driven learning and ai helpers nowadays.
I kind of agree with you, BUT what you suggest here could lead people to 'tutorial hell' and never-ending frameworks to learn... I think a developer should have the ability to adapt and learn a new framework when needed. for me, React works for almost everything I need. and I'm using it at work. and some freelance web app projects. I won't spend my free time learning angular, Vue, Remix, Svelete, etc ..
@ameer6168
Жыл бұрын
exactly you can learn other things which are more useful
@zivtamary
Жыл бұрын
@@ameer6168 correct, in the end, the most important thing to learn and master is JS
@galaxy9689
11 ай бұрын
don't be a react Andy
@emgodas
3 ай бұрын
React promotes the use of NextJS though on Next14
Josh, can svelte kit do some animation by keeping the best performance, i mean the animation is just like fade in, fade out, etc
The Phoenix Framework is really interesting and especially Phoenix LiveView, which provides a stateful connection between the server and the client where client-specific server-sided state is really easy to manage, and Laravel Livewire does really similar stuff
Wouldn't astro with react also be a good choice? Since you can use all of the packages from the react ecosystem and still get very high lighthouse scores
I get what your saying, I’ve recently had to start learning angular for my work, I normally use REACT, can say that other frameworks allow you to see what works for them there benefits and through that transfer those best practices back to REACT.
Mind sharing which CMS are you using all together with Svelte?
Really depends on the project. For an app next is better but for a content-site like blog or documentation better astro or even full ssg with Hugo and vanilla with which you can always get 100 score bcs you can control what to load at the top of the page, what to prefetch, and what to fetch at build time.
@fuzzychest
2 ай бұрын
Why cant you do that with nextjs? I am new to nextjs but, from what I have seen so far, you can do all of that. It may be overkill for some sites but it can do that.
My advise is to just stick with good old backend with html templating and sprinkle javascript for some interaction unless you have to build an app like solution for the web. 90% of the people don't even need to build websites in JS framework.
@theropoy9371
2 ай бұрын
True. The older you get as a dev the more you appreciate simplicity
I think it depends on the project you have to build. I'm currently looking into next.13 together with Tailwind, I find it a fantastic pair. It is also designed for Back end. For coders There is so much stuff out there
@joshtriedcoding
Жыл бұрын
Right, and no matter what you want to do, with React there's always a package just for that. Different story for those newer frameworks, but they do have their benefits
I use NextJS every day for a big enterprise grade app but for smaller apps it's overkill For smaller apps the KISS stack (Astro, Solid, Pocketbase) has potential... def going to try it out in the future.
what about the T3 stack if not using nextjs?
hi, what backend is needed to develop ecommerce site with next js
when I did my first nextJS freelance project, I lucked out on 100% lighthouse across the board, but it took me like a day's worth of coding/refactoring to get there. in hindsight, for the kind of app I was building, astro and vice or something would have made more sense. this is all to say, I understand your point that not everything is meant to be a nextJS project. Damn you, Vercel, with your amazing framework! lol hope you can sense my lighthearted humor :)
@joshtriedcoding
Жыл бұрын
Hahaha 100% agree, I think the framework that provides a great DX with react syntax in that case is Astro, even more so than svelte. Thanks for sharing your experience!
Could you explain how express js solve this next js problem. I don't know express js and many people knowing only next js will be like to see how express js over comes this problem. Please make video on it next js vs express js ,only consider 3 fact (mentioned in above video) while comparing🙏 . There are no proper source on internet, present explanation are hard to understand. Please make video on it.
Hi! I have to create an app with dashboard, big tables with a lot data, paginations, columns order,etc. What you recommend me? Nextjs, React or Laravel with jQuery for example? Thanks for your response
@bioburden
22 күн бұрын
Whatever you're most comfortable with - but you'll likely need something like AG Grid, Tanstack Table, or PrimeReact for the table aspect you mention. 👍
what application do you use in recording the audio
i finished my first nextjs freelance project it was a landing page and im well aware nextjs was overkill but i wanted to learn it anyway so i used it. Now im 50/50 if i should use the precious time to further learn nextjs and learn headless e-commerce or should i learn something like Astro to make small landing pages better.
Thank you, very informative and useful
I have been going backend development with Django and for my personal projects (freelance) I just buy a template online. I want to make the transition to full stack and I have been trying out React and Next. I like Next because routing is much easier I think and it is more optimized than React. Should I add Svelte to my To Try list? like up to this point, I haven't even thought of trying Angular lol..
@marin1419
11 күн бұрын
Angular is nasty I wouldn't dare
I totaly agree with you , after one and half year using nextjs , i am will never use in anymore ! everu task you need to do it is painfull
I'm a full stack engineer, and also do Swift development. Since I already have to handle Swift, Java (Spring framework), and React (Next.js) I think learning other frontend frameworks would be a colossal waste of time. If I were a frontend-only developer, then yes, multiple frontend frameworks would be a good idea.
I was very interested in Svelte but chose NextJS just because I can get off the ground really quickly. There’s a lot of lateral resources for React, NextJS - things like Tailwinds kits, generators, sandboxes that target NextJS / React and it really makes life easier.
@joshtriedcoding
Жыл бұрын
100%
@developedbythet
Жыл бұрын
Can you suggest me Next js generators? I’ve been looking for.
@Jorgepr787
Жыл бұрын
Sveltekit? It’s created by Vercel too.
You pretty much proved your point to me as i was watching xd I was going to write my blog in nextjs, then i saw someone mention astro in the comment section, checked it out, and realized that it already basically does everything i want out of the box. So... Good thing i watched this, probably saved me a few hours!
@marin1419
11 күн бұрын
What about SEO doesn't that affect it?
I started learning React and Next, then discovered Svelte and Sveltekit which is amazing, especially coming from Django.
when I work with something I try to get the best of it. I do have wordpress projects with elementor that got 98% in the speed test. I have another project that I need to control each line in the html, because the and HTML should be used in mail, so I did the page builder with netlify CMS (now is decap) and jekyll (a ruby framework). I think it is importante to know some frameworks, but not to do the same think. So, I like React to, but if I need to create a project to be inside another person website, like a chat, I guess I will do in Preact, to get small as possible. Well, it is important to keep learning.
I changed to nuxt3 two weeks ago and i think its actually way better than nextjs. In nuxt i can use top level await, auto import, easy middleware pages, easy state management including global state. Overall nuxt3 is a better DX. I’ve also used svelte, its great but the main problem with it is that not many companies use svelte (yet).
@jomoc6112
Жыл бұрын
everything you mention can easily be done with nextjs, but yeah its your choice.
@tim_from_braid
Жыл бұрын
How do you achieve top level await in next js?
How do you get freelance projects ?
I believe if u know just react, u are fine . I know Next js but I still haven’t found a use case that just React wouldn’t do. If I need server rendering , I use php which I had always known even before picking React .
Svelte needs good UI libraries and after that I'm sure it'll beat React and Nextjs. It's so intuitive.
I am actually working with angular since 2017 and I love it, but I want to learn React too ^^
I achived 100% lighthouse on a massive headless CMS, but on recent update nextjs is vert anoyying when you wanna work with i18n
If I'm building an app, I'll use Next, if I'm building a static site, I'll use Astro
What is u use??
At work we used Lit Webcompionents and THAT can make fast webpages. It is pure HTML at the end :D
stick to only one framework if you are just starting out don't jump to every new framework that is coming out
Ha ha yeah I started as a Wordpress dev.. I’ve been using django for quite a few years now for full stack projects and now trying to start doing more react stuff.
Vanilla JS is still the king when it comes to performance. It might be overwhelming for developers who do not know just a couple of frameworks. However, if you are open to learn how JS actually works, you can grantee objectively superior performance with much less code.
@joshtriedcoding
Жыл бұрын
I think the tradeoff between performance and the declarative approach of most frameworks is always worth taking, but if you're more comfortable in regular js that's pretty cool too
you can use pwa to achive 100% in light house
I build everything with Sveltekit, the No.1 meta-framework 👍😘🤩😍
which 12-hour react course did you take?
@toby5067
Жыл бұрын
There is a free 'Intro to React' Scrimba course. It's ~12 hrs. Taught by Bob Ziroll. Very good!
@abubakar-emumba
Жыл бұрын
@@toby5067 Thank you
Astro seems will be best imo.
3:57 I've got a 100% with a "hello world" like app. 💀
But I am now thinking about astro 's fancy things
Nuxtjs is amazing
Thought I was the only one thinking this way
SvelteKit makes building so much easier and it runs faster than NextJs because there is No virtual DOM for Svelte!
I have a hammer does 90% of the work well and 10% OK. Why would I learn other less used frameworks that may not exist after 6 months ? I understand Its about personal interest, I'd rather invest my limited time to other areas that broaden my kownledge, such as cloud, backend or system design. Time is limited have to use it wisely.
is SvelteKit free?
@thecoolnewsguy
13 күн бұрын
Yes open source framework
svelte / svelte kit is much more less learning curve than react / nextjs . i switch from react to svelte too.
@axetroll
2 ай бұрын
What ui do you use?
WordPress isn't inherently slow. Poorly implemented WordPress plugins and themes can make a WordPress site slow.
As an entrepreneur, I can assure you that attempting to sell the "tool you know" for any client's project is a recipe for disaster. Flexibility and adaptation are the keys to success. Seeking the best tool for a project is a state of mind, laziness is the muse of the failure.
90 performance in lighthouse is not worth more than learning a crap ton of frameworks
If you know react....svelte may seem haard to you but solidJS would feel like having breakfast....
@thecoolnewsguy
13 күн бұрын
What? Svelte is a piece of cake
idk. i think having all these frame works is bad. we shouldn't need to learn a new frame work every 6 months. I think it's better to learn how to do the basics properly (HTMLS, CSS, JS) then chose one of the popular frameworks and learn that. constantly learning different frameworks seems like a recipie for rapid burnout
I was stupid and taught myself HTML, CSS, and PHP when I first learned how in 2007 or 2008..
@marin1419
11 күн бұрын
What do you use for frontend now?
@dannyp204
10 күн бұрын
@@marin1419 I uae MaterialUI for a lot of my front-end stuff. Since you have the base objects or you can customize them to your needs
i know this problem with Wordpress and what clients expect in speed. Wordpress + Elementor slow as f***. 😆
Next video: doing webapp using T3 stack :D
@joshtriedcoding
Жыл бұрын
Who knows! Still use NextJS / React for anything that goes beyond simple frontend work
Like 666! Hail Stan!
I use it for my portfolio just to learn it. but I don't like it
Disagree, productivity gains work from working on the same stack.
i find it dumb that people call javascript a full stack framework. Intense computations are not done in javascript therefor, a backend built with javaascript is weak. Really tells how people only learn one coding language and are hesitant to expand their horizons.
@joshtriedcoding
Жыл бұрын
Which language are you comin from?
Your WordPress was slow because you were using elementor and probably a bunch of plugins as a beginner, it's not WordPress that was just your skill issue.