Closed jackpopp closed 7 years ago
Hey I'm working on an older react codebase that makes use React.__spread which is basically just Object.assign.
Currently I get
TypeError: React.__spread is not a function
when using preact-compat, this should fix the issue.
We already had an extend function in preact-compat that was pretty much Object.assign / __spread -- I submitted #407 to use that for this.
extend
preact-compat
Hey I'm working on an older react codebase that makes use React.__spread which is basically just Object.assign.
Currently I get
TypeError: React.__spread is not a function
when using preact-compat, this should fix the issue.