pmndrs / react-nil

⃝ A react null renderer
MIT License
793 stars 14 forks source link

fix: safely handle internal props #15

Closed CodyJasonBennett closed 2 years ago

CodyJasonBennett commented 2 years ago

Fixes an issue where react-internal props were unintentionally touched when filtering by spreading. This can lead to unwanted assertion warnings by React.

I've filtered them out by iterating, similar to https://github.com/pmndrs/react-three-fiber/pull/2465.