I would say that working closely together with the front-end devs is key. Listen to what they are trying to do, and see where you can help. Mind you though, that it should be balanced, because you want to avoid doing work that is unnecessarily complicated to make the life of the front-enders better.