vonsa
vonsa
### 📜 Description I have a separate package where I assign a property in my class like this: ``` class Something { ok = 'test' } ``` And then I...
### Which package(s) are affected? React (@lit/react) ### Description The properties are only assigned on useLayoutEffect which is too late to make them available inside of the connectedCallback. I've solved...
fix: Set lit component properties before rendering to the DOM when using @lit/react createComponent
[#4435](https://github.com/lit/lit/issues/4435) **Solution:** Adding the elementProps when using React.createElement makes sure that the properties are set before the connectedCallback runs. **Notes:** By adding this change, tests in @lit/labs/ssr-react were breaking because...