hypermod-community
hypermod-community copied to clipboard
[docs] Update the "remove props" example
The remove prop example suffers one issue: nested components
If you have two nested components with the same prop it will be removed to both of them.
For example
<A prop="test">
<B prop="test2" />
</A>
Using the example to remove prop from <A /> Will also remove it from <B /> because find also cover the nested elements