Inline into template

Inline a string or a basic template literal into an outer template literal.

Refactoring (Inline)
ES2015
P42 for VS Code
P42 for GitHub
Inline into template

Why is this refactoring helpful?

Unnecessary template expressions containing only a string or template literals can make templates hard to read. By inlining them, they become part of the template text, and you can read it without having to visual parse extra symbols.

Related Code Actions

Learn More

Available In