adobe / react-webcomponent

This projects automates the wrapping of a React component in a CustomElement.
Apache License 2.0
105 stars 19 forks source link

Fix error when using byContentVal decorator #3

Closed cuberoot closed 5 years ago

cuberoot commented 5 years ago

I was getting an error about writing to a read-only property when I used @byContentVal

Description

I found that the decorators that worked for me marked the property as writable. I fixed byContentVal to do the same.

Related Issue

Motivation and Context

How Has This Been Tested?

I ran the included unit tests

Types of changes

Checklist: