Image: Medium, Deepak Gupta
Deepak Gupta provides a very useful list of thirteen security tips for front-end developers, including disabling iframe embedding, using noreferrer anchor tags, and compartmentalising your application to reduce the threat surface area.
Source: