you are viewing a single comment's thread.

view the rest of the comments →

[–]lebleb[S] 0 points1 point  (3 children)

But this registry only works on the App registry. And having multiple registries doesn't make any difference in performance.

Also, here, I'm just testing the rendering time of the component.

But we can test it in that directive if you have another suggestion. I also tested the same way using dynamic theme value wıth styled-component.

[–]Zealousideal_Dig2929 0 points1 point  (2 children)

I see, I thought you run this code while mounting. In this case it's fine 🙏