BL0005 - external parameter usage - why is a warning for that?
问题 BL0005:Component parameter should not be set outside of its component. I have a component inside a component. When my outer component state changes, I want to update inner component's state. The outside component is an autocomplete implementation, the state that changes is input text, the inner component is autocomplete items list, its highlighted part to be exact. So I change the inner component state via its parameter. And I get this warning. Why? BTW, the code works exactly as I expected