Giter Site home page Giter Site logo

Comments (4)

Djspaceg avatar Djspaceg commented on August 25, 2024

The rendered output makes it look like you are using different LESS compiling rules in your webpack. The built-in rules of enact, that allow the style system to work leverages an obscure feature that retains /* */ style comments. We're considering a way that doesn't rely on this, but, at least right now, is necessary.

Some explanation about this conclusion: those <div> tags at the end have no class names on them, most likely because the import css ... object inside of enact/ui is blank. The only reason it would be blank is if the import was not able to find the selector class names. If it can't find the class names, it's likely due to them having no content. If they have no content, it's because the comment which tricks them into having content without any rules, doesn't exist. If it doesn't exist, the comment was pruned out.

from enact.

webOS101 avatar webOS101 commented on August 25, 2024

@vimalkodoth Were you able to resolve this issue?

from enact.

yalagutbay avatar yalagutbay commented on August 25, 2024

@vimalkodoth were you able to run ui library in an external project? I'm also trying to use the UI library in a plain react app but somehow it gives a hook error.

from enact.

seunghoh avatar seunghoh commented on August 25, 2024

Close this issue as no further discussion. Please create an issue again if necessary.

from enact.

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.