Clean Code for frontend devs

I've just begun reading Bob Martin's "Clean Code: A handbook of Agile Software Development". It's a modern classic for most programmers, but it's a jarring read for frontend devs as the code examples are all in Java. Additionally there are considerations for frontend developers that are not mentioneed in thee book at all, most crucially, how to compose your frontend app's state, cleanly.