I'm learning the MERN stack, but I don't want my understanding to depend on JavaScript or a particular framework. I'd like to develop solid fundamentals across frontend and backend development, databases, system design, and software architecture. I'm looking for one book or a small collection that starts with the basics and gradually moves into intermediate concepts while explaining the underlying principles rather than focusing mainly on a specific technology. What would you recommend?
3 Answers
A practical combination would be Database Design for Mere Mortals for relational database concepts and A Philosophy of Software Design by John Ousterhout for architecture and managing complexity. Neither book is tied heavily to one language or framework. Also, once you have some experience, rebuild the same feature in two different stacks—that comparison is one of the best ways to separate general concepts from framework-specific syntax.
There are plenty of valuable computer science books, such as Structure and Interpretation of Computer Programs, The Algorithm Design Manual, and Computer Systems: A Programmer's Perspective. However, that full list is probably excessive if the immediate goal is becoming a stronger full-stack developer. Those books provide deep theoretical foundations, while Designing Data-Intensive Applications and a focused database or software design book are more directly relevant to web architecture.
Designing Data-Intensive Applications by Martin Kleppmann is an excellent choice for backend and database foundations. It covers data modeling, storage systems, distributed systems, replication, and scalability in ways that apply across programming languages and technology stacks.

Related Questions
How To: Running Codex CLI on Windows with Azure OpenAI
Set Wordpress Featured Image Using Javascript
How To Fix PHP Random Being The Same
Why no WebP Support with Wordpress
Replace Wordpress Cron With Linux Cron
Customize Yoast Canonical URL Programmatically