Skip to content

Conversation

@sbc100
Copy link
Collaborator

@sbc100 sbc100 commented May 3, 2023

It looks like these have been implements for a very long time in all the engines: https://caniuse.com/template-literals

I just chose of libraries to start with, and will continue with others if there are no objections.

@sbc100
Copy link
Collaborator Author

sbc100 commented May 4, 2023

@brendandahl @kripken @juj what do you think about this direction?

I think code-size-wise and performance-wise its mostly a wash, but maybe its win for maintainability/readability?

@sbc100
Copy link
Collaborator Author

sbc100 commented May 4, 2023

My motivation is partly that contributors tend to assume they can use this feature and we should probably be consistent about using it vs not using it.

Copy link
Member

@kripken kripken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is more readable I think, seems worthwhile.

@juj
Copy link
Collaborator

juj commented May 9, 2023

This looks perfect!

It looks like these have been implements for a very long time in
all the engines: https://caniuse.com/template-literals

I just chose of libraries to start with, and will continue with others
if there are no objections.
@sbc100 sbc100 force-pushed the use_string_templates branch from fd02cd9 to 6ce6de3 Compare May 9, 2023 16:04
@sbc100 sbc100 enabled auto-merge (squash) May 9, 2023 16:05
@sbc100 sbc100 merged commit 3c822ef into main May 9, 2023
@sbc100 sbc100 deleted the use_string_templates branch May 9, 2023 17:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants