GithubHelp home page GithubHelp logo

React native web support about jsxstyle HOT 3 CLOSED

nandorojo avatar nandorojo commented on June 11, 2024
React native web support

from jsxstyle.

Comments (3)

meyer avatar meyer commented on June 11, 2024 1

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.

meyer avatar meyer commented on June 11, 2024

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.

nandorojo avatar nandorojo commented on June 11, 2024

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)

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.