bramus / bramus/react-native-maps-directions

Syntax 'classProperties' isn't currently enabled

Open
#114 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
1.3k
Forks
210
PR merge metrics
No merged PRs in 30d

Description

If i use https://github.com/facebook/create-react-app to initiate and then use react-native-maps-directions i have the following error:

```
Support for the experimental syntax 'classProperties' isn't currently enabled (34:13):

Add @babel/plugin-proposal-class-properties (https://git.io/vb4SL) to the 'plugins' section of your Babel config to enable transformation

```

I just installed `yarn add @babel/plugin-proposal-class-properties --dev` but i cant solve it 👎 . There is a way to run `react-native-maps-directions` using the `create-react-app` ?

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by reproducing the Babel error in a project created with create-react-app while using react-native-maps-directions. Inspect the package and the application's Babel configuration to determine where the classProperties syntax is being parsed. Done means the package can be used in that setup without the reported syntax error, or the compatibility limitation is documented.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, react-native
Domain
mobile-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.