html-template@0.1.0
📦 remix
✨ 7 features🔧 4 symbols
Summary
Initial release of @remix-run/html-template, providing a type-safe tagged template function for constructing HTML strings with automatic escaping and fragment composition.
Migration Steps
- Install @remix-run/html-template to begin using the library.
✨ New Features
- Initial release of the @remix-run/html-template package.
- html tagged template function for HTML string construction with automatic escaping.
- html.raw for explicitly marking HTML as safe without escaping.
- isSafeHtml type guard function for identifying safe HTML strings.
- SafeHtml branded type for type-safe HTML string handling.
- Support for composable HTML fragments without double-escaping.
- Support for arrays, primitives, and falsy values in interpolations.
🔧 Affected Symbols
htmlhtml.rawisSafeHtmlSafeHtml