CHANGES:
- Fix
data-attributesbeing rendered asdata_-attributes(@davesnx) - Add
JSX.ppfor pretty-printing HTML with indentation, powered bypretty_expressive(@davesnx) - Add
JSX.stringffor escapedPrintf-style text formatting and teach the PPX to optimize literal-onlystringfcalls at compile time (@davesnx) - Improve runtime render speed in
JSX.writeby replacing iterator-heavy paths with direct recursion and indexed array traversal (@davesnx) - Reduce default render buffer sizes (
1024 -> 256) and improve PPX-generated buffer capacity estimation for dynamic/optional attribute code paths (@davesnx) - Add a compile-time fast path for static HTML escaping in
ppx/static_analysis.mlto avoid buffer work when no escaping is required (@davesnx) - Extend static optimization coverage for dynamic attributes: elements with dynamic attrs and dynamic string/mixed children now generate buffer-based optimized code instead of falling back to
JSX.node(@davesnx)