Electrical properties of a photopolymerizable resin during reaction