CSS in JS isn't what I would call a best practice BUT there are some specific use cases where it might be advantageous. Component based CSS modules are a better approach in my mind. If CSS doesn't come from a stylesheet then it's hard to take advantage of a DRY CSS cascade.