【问题标题】:TypeError: interpolate is not a function. react nativeTypeError: interpolate 不是一个函数。反应原生
【发布时间】:2021-09-05 01:47:50
【问题描述】:

我正在尝试运行内置类组件的 react native 应用程序,我更新节点模块包并 react native 以运行,但更新后它给了我错误,但应用程序没有类型或语法错误

【问题讨论】:

标签: react-native npm


【解决方案1】:

如果您使用的是 react-native-reanimated 版本 2

使用 interpolateNode() 代替 interpolate()

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-01-04
    • 1970-01-01
    • 2020-09-16
    • 2018-02-27
    • 2015-08-06
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多