splitProps instead of destructuring?
How does
In this case it's absolutely the same if I write
I just get
But I'm not sure how
splitProps work exactly?In this case it's absolutely the same if I write
splitProps(props, ["result"]); or splitProps(props, []);. I just get
props. I know I can use:But I'm not sure how
splitProps works.