Using @apply in Tailwind CSS to Create Reusable Utility Classes
Learn how to use Tailwind CSS's @apply to bundle utility classes into custom selectors, keeping HTML clean while preserving the design system.
ReadMeFeed / Community knowledge
Real questions. Useful conversations. Find the people who know your stack.
Learn how to use Tailwind CSS's @apply to bundle utility classes into custom selectors, keeping HTML clean while preserving the design system.
Private function convention vs. runtime reality Elixir's defp signals internal API intent and triggers compile-time warnings when referenced across module boundaries. However, the BEAM runtime exports all functions—including those marked private—so Kernel.apply/3 , :erlang.apply/3 , and Module.concat/2 can invoke them without error. This gap between static a