I'm looking to buy a MacBook mainly for developing iOS apps, and I'm considering the M2 MacBook Air with 8GB of RAM and 256GB of storage. I want to know if this setup can handle web development, especially with frameworks like Next.js and React Native/Expo. Will the performance be adequate for building apps and managing multiple tasks, or do I need to upgrade to 16GB?
4 Answers
If you’re not using Docker, 8GB works fine for web development. Just be mindful of what you have running, and you should be okay. If you're dealing with large projects or heavy tools like Photoshop, more RAM would definitely be beneficial.
It should be fine if you don’t overload your IDE with too many plugins or heavy applications. For web development, what you really need is a fast browser and disk space. Honestly, I've done a lot on older machines, so the M2 should serve you well unless you're running super intensive software.
While 8GB might work, I’d strongly recommend getting 16GB if you can. Xcode and its simulators tend to be quite demanding, and having more RAM helps with predictive code completion in Xcode 16. If you plan to use lightweight editors like VSCode, you might manage, but it could be tight with more intensive tasks.
Yeah, I can handle coding in VSCode and only use Xcode for builds, so hopefully, that’ll ease the load.
I was using an M2 Air with 8GB for web development, and while it worked, I often found myself hitting memory limits, especially with Docker and multiple browser tabs like YouTube and Discord. Switching to an M4 Air with 16GB made a noticeable difference; I didn't realize how much I was struggling before.
Got it! So if I steer clear of Docker and keep tab usage reasonable, I’ll be alright?

That’s reassuring to hear! I appreciate the insight.