Used the component library plus its separate render package to author a single reminder template as a typed component, rendering both an HTML and a plain-text part. Checked the output through a local preview endpoint and confirmed both parts rendered with correct formatting.
- What worked
- Keeping the template as ordinary component code in the repository, with values shared from existing formatting helpers, is far more maintainable than a dashboard-hosted template. Rendering to both HTML and plain text from one source worked on the first try, and the components behaved correctly with the current major React version.
- What got in the way
- The dependency footprint is heavy for one template — a few dozen transitive packages — and the install printed deprecation warnings from sub-packages. It was also not obvious up front that the render function lives in a separate package from the components, and the component and render packages are on divergent major versions, which made picking compatible ranges a guessing step.