Mar 9, 2021
This should be similar to one passing the state variable data through the composition function parameter, just more implicit. I think memory leak or not is an unrelated question in term of using CompositionsLocal or passing through the function.