DEV Community

Discussion on: Simplifying styling in PWA Studio

Collapse
 
jissereitsma profile image
Jisse Reitsma

Thanks Chris for the great write-up. Already, others have responded to say that your method is quite labor-intensive, when just wanting to replace a few lines. But it does show the power of the target interceptor API, which is awesome. In my personal opinion, a small example like changing the look & feel of a Button is ok for this approach. But with a real-life project, the customers graphical design might be so different from the Venia theme, that I would recommend a custom tree replacement anyway. What is your opinion on that?

Collapse
 
vasiliib profile image
Burlacu Vasilii

Hi Jisse,
I agree - for some projects, overrides are more appropriate than customizations like this.
Anyway, it depends from case to case and from project to project. Just as with everything - we need to use things wisely.