We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello, I've a problem with babel transpiling.
npm run start // command I use to run npm -v 4.1.2 node -v v7.5.0
Standard ES6 I copied from reacttraining examples.
The code: (don't mind this 1===1, it's just for testing)
const PrivateRoute = ({ component: Component, ...rest }) => ( <Route {...rest} render={props => ( 1===1 ? ( console.log(props); ) : ( <Redirect to={{ pathname: '/sign-in', state: { from: props.location } }}/> ) )}/> )
Besides default reactQL .babelrc I tried following setup:
{ "presets": [ "react", "stage-3", ["env", { "targets": { "node": true } }] ] }
Here is error I am receiving:
Not sure why it is not working. Clearly I am missing something.
The text was updated successfully, but these errors were encountered:
57bc156
@loelsonk - npm i -g reactql to 2.0.1, and this should now work.
npm i -g reactql
Sorry, something went wrong.
Thanks, it is working now!
No branches or pull requests
Hello, I've a problem with babel transpiling.
Standard ES6 I copied from reacttraining examples.
The code: (don't mind this 1===1, it's just for testing)
Besides default reactQL .babelrc I tried following setup:
Here is error I am receiving:
Not sure why it is not working. Clearly I am missing something.
The text was updated successfully, but these errors were encountered: