Code Monkey home page Code Monkey logo

rollup-styled-jsx's People

Contributors

exequiel09 avatar saraogipraveen avatar therealansh avatar tomekmularczyk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

rollup-styled-jsx's Issues

TypeScript support

Hi,

I've tried to use this repository as a base for our own component library using styled-jsx. However we want to use TypeScript with it but this essentially breaks styled-jsx as it no longer generates unique names on build. We can't figure out this is happening. Any insight would be great!

The styled-jsx does not render the style when the Browser has js disabled (Rollup and styled-jsx)

Hi!, please, can you help me?

I'm working on a blog project and one of the requirements is that the blog works even if the browser has javascript disabled. When using the project "https://github.com/dionatanaraujo/rollup-styled-jsx" a fork of "https://github.com/Tomekmularczyk/rollup-styled-jsx", we noticed that when disabling the browser javascript the components are not carrying styling.

How simulate the error:

  1. Enter in the root project and run npm install and then npm run build:prod
  2. Enter in the demo project cd demo and run npm install and then npm run dev
  3. Access the browser http://localhost:3000, go to settings and disable javascript.
  4. Note that the styles will not be loaded.

Please, is there something wrong or missing in this configuration so that the styles work correctly when javascript is disabled?

Component library with js enabled (work's fine):
Screen Shot 2020-09-07 at 3 21 33 PM

Component library with js disabled (styles don't work):
Screen Shot 2020-09-07 at 3 22 17 PM

The project that is in / demo and was built using Next.js to work with SSR. Please, if anyone can help with that it would be very rewarding.

Update outdated packages

Some of the libraries are outdated, please update them to their latest versions. Skip major version updates e.g. if some library is updated from version 2.x.x => 3.x.x.

Test that builds still works when you finish: npm run release && npm run build-storybook

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.