remove setProps nonsense - this isn't java
This commit is contained in:
@@ -81,10 +81,10 @@ const config: HostConfig<
|
||||
|
||||
prepareUpdate: () => true,
|
||||
commitUpdate: (node, payload, type, oldProps, newProps) => {
|
||||
node.setProps(newProps.props)
|
||||
node.props = newProps.props
|
||||
},
|
||||
commitTextUpdate: (node, oldText, newText) => {
|
||||
node.setProps(newText)
|
||||
node.props = newText
|
||||
},
|
||||
|
||||
// eslint-disable-next-line unicorn/no-null
|
||||
|
||||
Reference in New Issue
Block a user