Skip to content

[bug]: SyntaxError: Unexpected token '='. Expected an opening '(' before a method's parameter list. #2142

@Vera1128

Description

@Vera1128

Which react-spring target are you using?

  • @react-spring/web
  • @react-spring/three
  • @react-spring/native
  • @react-spring/konva
  • @react-spring/zdog

What version of react-spring are you using?

9.7.1

What's Wrong?

The code throws an error when I use react-spring in my react page on ipad with ios13.4.1

error message 👇
SyntaxError: Unexpected token '='. Expected an opening '(' before a method's parameter list.

It works fine if I remove the code about react-spring.

To Reproduce

none

Expected Behaviour

expect it works as well as other libraries

Link to repo

none

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions