In my Stencil component, I want to initiate my state variable with the passed down prop value. How to do that in Stencil?
I have tried assigning the value to the state var in componentWillLoad, but it doesn't work.
@Prop() passedVal
@State() someVal = ??
I am new to Stencil, and I come from VueJS, so please bear with my seemingly noobish question.