1328 Views
8 useful JavaScript features you might have missed. taggingThis`Hey!!, I'm ${name} !!` If you've ever used styled-components in React, you've used tagged literals. Tagged literals give us more control over the parsing of our literals. It allows us to parse template literals with a function. taggingThis`Hey!!, I'm ${name} !!` The taggingThis is a function.
0 comments