tomekmularczyk / rollup-styled-jsx Goto Github PK
View Code? Open in Web Editor NEWSimple library for React components styled with styled-jsx
License: MIT License
Simple library for React components styled with styled-jsx
License: MIT License
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!
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:
npm install
and then npm run build:prod
cd demo
and run npm install
and then npm run dev
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):
Component library with js disabled (styles don't work):
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.
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
Update Rollup to v2
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.