question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow Usage of Template Engines

See original GitHub issue

Is your feature request related to a problem? Please describe. Currently there is no way to use templating syntax to make interpolation of values easier.

Describe the solution you’d like A l-templating:precompile directive directive for their appropriate uses. On initialization it should take the full inner HTML of elements using the l-tempating:precompile directive and use the value of that directive to precompile the inner HTML into a function. Then, on data changes it calls that function and resets the inner HTML accordingly.

Describe alternatives you’ve considered Rendering on the fly with a directive like l-templating:render but that is less efficient and could be added later.

Additional context #8 will probably cause structural changes so this could tag along with that.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
aidenybaicommented, Nov 23, 2020

Yeah, could be interesting. Maybe we should also have plugin support in mind

1reaction
aidenybaicommented, Nov 21, 2020

Agreed. Currently VDom refactor is priority so we can implement these changes

Read more comments on GitHub >

github_iconTop Results From Across the Web

Using template engines with Express
A template engine enables you to use static template files in your application. At runtime, the template engine replaces variables in a template...
Read more >
Template engines
Shown here is the SimpleTemplateEngine that allows you to use JSP-like scriptlets (see example below), script, and EL expressions in your ...
Read more >
What are template engines? - Educative.io
Template engines are mostly used for server-side applications that are run on only one server and are not built as APIs. The popular...
Read more >
Template Engines for Spring - Baeldung
In this article, we're going to take a look at the main template engines that can be used with Spring, their configuration, and...
Read more >
Template Engines - Full Stack Python
Template engines allow developers to generate desired content types, such as HTML, while using some of the data and programming constructs such as ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found