Giter Site home page Giter Site logo

Comments (10)

MatthewHerbst avatar MatthewHerbst commented on August 14, 2024 8

I was able to use babelify instead of reactify and it solved all my problems.

from reactify.

TimeBomb avatar TimeBomb commented on August 14, 2024

The original pull request for this nonStrictEs6Module flag and the es6module flag can be found at facebook/react#3143, which includes specific information about them. Unfortunately not officially documented yet, so it appears.

from reactify.

ezmiller avatar ezmiller commented on August 14, 2024

How does one set these flags in a Grunt configuration when using browserify and reactify as a transform? I created a stackoverflow question about this.

from reactify.

danvk avatar danvk commented on August 14, 2024

Here's my fix: #59

from reactify.

MatthewHerbst avatar MatthewHerbst commented on August 14, 2024

Any updates here? I'm running into this problem (as seen in #60 ) also.

from reactify.

danvk avatar danvk commented on August 14, 2024

Can you use jstransformify instead of reactify? I recently made some changes to make its interface more like reactify.

from reactify.

MatthewHerbst avatar MatthewHerbst commented on August 14, 2024

@danvk When I switched my transform from

bundler.transform(reactify, {es6:true});

to

bundle.transform(jstransformify);

I get the error:

Error: while transforming /Users/mherbst/Repos/data-validation-tool/src/client/js/app.jsx:Error: Parse Error: Line 1: Illegal import declaration

from reactify.

andreypopp avatar andreypopp commented on August 14, 2024

Yeah, reactify is pretty much deprecated now as babel is replacing jstransform.

from reactify.

DannyvanderJagt avatar DannyvanderJagt commented on August 14, 2024

@MatthewHerbst Thank you that worked for me too!

from reactify.

alex179ohm avatar alex179ohm commented on August 14, 2024

@MatthewHerbst Tanks! babelify works fine for me too

from reactify.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.