daltonmenezes / use-exit-intent

🐠 A React Hook to handle exit intent strategies
https://use-exit-intent.daltonmenezes.com
MIT License
83 stars 6 forks source link

Support for the experimental syntax 'optionalChaining' isn't currently enabled #3

Closed baybomax closed 1 year ago

baybomax commented 1 year ago

Support for the experimental syntax 'optionalChaining' isn't currently enabled

daltonmenezes commented 1 year ago

Hi @baybomax , could you please provide more info on this?

Are you using CRA or Storybook? How are you trying to handle useExitIntent and what errors did you get with it?

This seems to me something related to babel and not a useExitIntent thing. 🤔