Skip to content

Is the style function with multiple args more performant than an array of tw template tags? #311

Answered by jaredh159
erquhart asked this question in Q&A
Discussion options

You must be logged in to vote

the template tag de-sugars to some calls to tw.style() so technically, tw.style() would be a smidge faster, but it shouldn't matter in practice. twrnc is heavily cached and performs really well, it's unlikely that would be a source of performance problems.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@erquhart
Comment options

Answer selected by erquhart
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants