A method of forming a crosslinked polymer comprising the step of reacting a crosslinkable group in the presence of a polymer, wherein:the crosslinkable group comprises a core unit substituted with at least one crosslinkable unit of formula (I):