Abstract: There is provided a light-emitting or receiving device having improved weatherability, chemical resistance, hardness, and optical properties, wherein a light-emitting or receiving element is encapsulated with a polymer of a polymerizable liquid composition comprising (a) a monomer or an oligomer or a mixture thereof containing a diallyl compound as an essential ingredient.There is also provided an encapsulant and a method for encapsulating a light-emitting or receiving element.