Coder Social home page Coder Social logo

Migrate to CSS-in-JS about dx-platform HOT 7 OPEN

devexperts avatar devexperts commented on August 26, 2024
Migrate to CSS-in-JS

from dx-platform.

Comments (7)

igoralekseev avatar igoralekseev commented on August 26, 2024 1

I am voting for SC because of bigger community, better tools and integration etc.
Emotion as far as I know was created when SC had rendering speed problems and no ability to refer components (styled-components v3). Both this issues were resolved in v4 and now v5 is coming.

Anyway API is very similar

from dx-platform.

mankdev avatar mankdev commented on August 26, 2024 1

I think if we decide to get deeper research, we lost an excellent opportunity for migration.

So I am voting for start migration to SC. If we reach some restrictions, it should be easy to migrate to another library.

@raveclassic if you decided to do this task, please keep in mind 3 level of styles that we spoke a lot.

  1. basic styles
  2. project overrides
  3. in-place overrides

from dx-platform.

scink avatar scink commented on August 26, 2024

i'd suggest emotion. but i can't say any pros or cons of it against sc yet

from dx-platform.

sutarmin avatar sutarmin commented on August 26, 2024

I'm voting for deeper research before choosing a particular solution because all the solutions have a different impact on the runtime. Especially if we want the approach that will work with CRA without additional configuration. The most important question now is how in hurry are we with this decision?

one of our teams has experience of using it in a production-running project

I'd like to notice here that almost every css-in-js tool that I met has very similar syntax/api and similar rules of working (overriding, scoping, etc.). I think the experience our team gained could be applied to any other solution, not only sc

from dx-platform.

raveclassic avatar raveclassic commented on August 26, 2024

Do we have time for such deeper research? Right now I have some spare time to migrate everything - I'd like to use such opportunity. Besides you're pointing the API accross the libs is similary so we could possibly replace SC with something more performant later, right?

from dx-platform.

raveclassic avatar raveclassic commented on August 26, 2024

We had a chat with @mankdev about SC and decided to wait for an upcoming release of Design System from our design team. Therefore I'm putting this issue on hold. Anyway I'm going to send another PR with update of react and storybook

from dx-platform.

raveclassic avatar raveclassic commented on August 26, 2024

#157

from dx-platform.

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.