Implementing Toggleable Layer Activation in TypeScript - Effect Community