Skip to content

Default to template literal strings #54

Closed
@KyleAMathews

Description

@KyleAMathews

This would probably be a controversial decision but template literal strings are just better. No escaping, easy interpolation, multiline when needed, etc.

This article by @bevacqua introduced me to the idea https://ponyfoo.com/articles/template-literals-strictly-better-strings and I've been using straight template literal strings in Gatsby for the past month or so with great success. Can't imagine going back to the morass of single vs. double quotes now.

Metadata

Metadata

Assignees

No one assigned

    Labels

    keep-unlockedstatus:needs discussionIssues needing discussion and a decision to be made before action can be taken

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions