Git Product home page Git Product logo

Comments (4)

gaperton avatar gaperton commented on July 29, 2024

but in the browser code I get

Which kind of the browser? Is it IE?

but that file does not exist anymore in the NPM?

I thought I removed it from the docs. Will keep it in NPM for the backward compatibility, though. It's the bug.

from nestedlink.

gaperton avatar gaperton commented on July 29, 2024

Uncaught SyntaxError: Unexpected token import

Ah, I think I understand what is happening. That's probably because of the fact that tags.tsx is being compiled with ES6 modules imports. So, it can work with webpack 2, but not with webpack 1.

Let me see what I can do, it's tricky.

from nestedlink.

gaperton avatar gaperton commented on July 29, 2024

Okay, published the fix. Now, valuelink/tags is the CommonJS version of tags. Do npm update and try this import line, it should work.

import { Input } from 'valuelink/tags'

Reopen if there are still any problems.

from nestedlink.

ckpinguin avatar ckpinguin commented on July 29, 2024

I'm using create-react-app and a chrome browser, so webpack2 and browser compatibility should be no issue.
I just updated to 1.4.3 (clean new install) and change the import line and it works now. Thanks a ton :-)

from nestedlink.

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.