Combining RAFT polymerization and thiol-ene click reaction for core-shell structured polymer@BaTiO3 nanodielectrics with high dielectric constant, low dielectric loss, and high energy storage capability.