set state in LightningModule using LightningDataModule after setup #19735
-
I would like to be able to set an attribute on my |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Ok I found a way to do it. I have something like the following in the datamodule. This is functional but I'd be interested if there a better pattern I can employ here.
|
Beta Was this translation helpful? Give feedback.
Ok I found a way to do it. I have something like the following in the datamodule. This is functional but I'd be interested if there a better pattern I can employ here.