May 16, 2024
You know that the value that the enum is mapped to is what actually controls the app logic, right?
For example if I'm passing Tailwind CSS classes then I need to know whether the value is "mb-2" or "mb-8"...
You know that the value that the enum is mapped to is what actually controls the app logic, right?
For example if I'm passing Tailwind CSS classes then I need to know whether the value is "mb-2" or "mb-8"...
Hi, I'm Doctor Derek! I've been a professional web developer since 2005, and I love writing about programming with JavaScript, TypeScript, React, Next.js & Git.