Hi,
I need to store a value within a private property that mustn’t be seen at the frontend. But, when I am using such private property, the value won’t be stored. I read it in the docs:
protected
andprivate
properties DO NOT persist between Livewire updates. In general, you should avoid using them for storing state.
But, I think there is a solution to store and use private properties throughout the whole component. I’m sure there is one I just can’t think of. Because, I am new to livewire. I just need one value to be stored, that mustn’t be seen ANYWHERE at the frontend.
THX