Comments (3)
sure thing! I’m going to close this issue but feel free to post updates/questions here; I’d love to see how it’s going for you!
from jsxstyle.
hey @nandorojo! issue #143 might be of interest to you. @natew forked jsxstyle-webpack-plugin
and bent it to his will for his own RNW library.
You should be fine without a ton of webpack know-how, but I’d recommend getting very familiar with javascript ASTs so you can modify the plugin to suit your needs. It’s a bit challenging but mainly just extremely verbose. I lean pretty heavily on astexplorer.net for any sort of AST work like this. It’s a fantastic tool. The TypeScript types for babel are fantastic as well. If you use the type predicate functions they provide (isNullLiteral
and friends), you get proper type narrowing. I use them all over the place in jsxstyle-webpack-plugin
.
from jsxstyle.
Got it, good to know. I really appreciate the thoughtful pointers, I'll look into all of this. Webpack is perhaps the first time it feels basically impossible to learn by reading code, so I'll use those resources. Hopefully I can make it happen. Much appreciated.
from jsxstyle.
Related Issues (20)
- Caching problem with jsxstyle-webpack-plugin HOT 3
- export JsxstyleProps from jsxstyle.d.ts HOT 1
- Break with typescript's generic component HOT 4
- React 15 and `componentWillMount` HOT 3
- Break with using thread-loader on production HOT 2
- Replace most of the AST traversal in `extractStyles` with the TypeScript type checker HOT 2
- TS2503: Cannot find namespace 'JSX'. HOT 2
- RFC: Default `alignItems` to `center` for `Row` component
- React Native (react-native-web) HOT 3
- Question about useMatchMedia HOT 2
- RFC: Adjacent sibling selector API
- Add a `Styled` component HOT 2
- Clean up the server rendering API HOT 1
- Color helpers HOT 1
- Ideas for a jsxstyle 3.0 HOT 2
- jsxstyle doesn’t have flow types HOT 1
- CSS custom properties and jsxstyle
- New top-level component prop: disabled HOT 1
- Proposal: combine jsxstyle and webpack plugin HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jsxstyle.