Git Product home page Git Product logo

Comments (7)

SethDavenport avatar SethDavenport commented on August 14, 2024 1

Both react projects are done. Angular ones still TODO. I'll tackle them when I have time.

from rangle-starter.

SethDavenport avatar SethDavenport commented on August 14, 2024 1

That's cool, certainly an option. I still think it's worth doing as much of the transforms at build time instead of at run time though.

from rangle-starter.

winkerVSbecks avatar winkerVSbecks commented on August 14, 2024

@SethDavenport How do you fee about getting rid of the Column component. IMO this doesn't provide much value. We could instead just do:

<div className="col ...">
    { children }
</div>

from rangle-starter.

SethDavenport avatar SethDavenport commented on August 14, 2024

Yeah I agree. There are a few things like that...

from rangle-starter.

SethDavenport avatar SethDavenport commented on August 14, 2024

For reference, we decided not to go with Radium for now. The reasoning is that 90% of your styling should be with basscss classes; anything exotic is best kept in a component-specific .css file that gets required into the JSX and uses BEM syntax for scoping.

This allows it to benefit from the entire postcss toolchain including theme variables and autoprefixer support (Radium does some prefixing but it's not as robust).

It's also an idiom that's preferred by our Design team.

If you have a need for heavy dynamic inline styles in your project, feel free to bring in Radium to your own repo after cloning the seed.

from rangle-starter.

SethDavenport avatar SethDavenport commented on August 14, 2024

Now that we have harmonized the apps across to the angular starters, they should get the new styles too.

from rangle-starter.

winkerVSbecks avatar winkerVSbecks commented on August 14, 2024

This might be a reasonable alternative to Radium for React + TS inline style projects: https://github.com/postcss/autoprefixer#css-in-js

from rangle-starter.

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.