I’ve used things like Tailwind CSS and Next.js and I know that Tailwind CSS has predefined CSS classes and Next.js allows you to use HTML while allowing JavaScript integration, but what really is a framework? Is there a definition or something that would be able to classify React as a library but Next.js as a framework?
In: Technology
A collection of pre-written code that you can use to build things.
Frameworks are like going to the hardware store to build lumber, screws, and sheets of drywall that are already the right size, instead of building them from scratch. These go into our environment (the foundation we’re building on) so that we can build our house without having to cut a bunch of parts from scratch.
Latest Answers