--

Did you read the article? It’s just a state holder like in your case. It’s almost the same solution. Btw you don’t need to use DisposableEffect if your onDispose is empty.

--

--

Patryk Kosieradzki
Patryk Kosieradzki

Written by Patryk Kosieradzki

Senior Android &iOS Engineer @ Moss, based in Warsaw, Poland

No responses yet