Using EEx.eval_string with HEEx Engine on live_view 0.18.18

I have a similar problem with EEx.function_from_file which worked with heex-engine prior 0.18, now I’m (misusing) Phoenix.Template.compile_all. What do you recommend if one just wants to use heex as a template engine, but can’t use embed_templates (not flexible enough)?