Giter Site home page Giter Site logo

Comments (4)

oliviertassinari avatar oliviertassinari commented on May 29, 2024 1

Thanks for the extra details, a section like https://preactjs.com/guide/v10/differences-to-react in the documentation could be valuable.

from filbert-js.

issue-label-bot avatar issue-label-bot commented on May 29, 2024

Issue Label Bot is not confident enough to auto-label this issue. See dashboard for more details.

from filbert-js.

kuldeepkeshwar avatar kuldeepkeshwar commented on May 29, 2024

@oliviertassinari thanks for posting it here.

filbert-js was built with a top down approach, keeping the api similar to other css-in-js libraries (styled-components/emotion) and do minimal things while achieving the outcome.

On surface filbert-js provides most features provided by other css-in-js libraries. So from usage point it is quite similar to styled-components/emotion & migration to/from filbert pretty easy & straight forward.
Apart from features, filbert also covers integration with friends in react eco-system(CRA/Next.js/Gatsby/Preact/Babel plugin & macro) & some of the integrations are in WIP e.g tailwind.

filbert's architecture is based on layered approach.

  • React API: a layer of react based components/hooks/functions
  • hashing/interpolation: filbert uses DJB2 based hashing & interpolation involves a tiny function which fills holes in template string
  • style manager : is core of filbert which is responsible for delegating work to adaptor layer & parser
    • browser adaptor
    • server adaptor
  • css parser: a tiny css parser

Some of the things right now not in filbert are:

    1. Object based styling
    1. Typescript support
    1. React Native support
    1. Alternate execution path for static styles vs dynamic styles (Perf)
    1. use CSSStyleSheet API (Perf)

For i/ii/iv/v are easy and some of them are in WIP & soon will land in coming releases.
For iii, I am looking for community support as am not much into RN

from filbert-js.

kuldeepkeshwar avatar kuldeepkeshwar commented on May 29, 2024

@oliviertassinari sure I'll add that to website

from filbert-js.

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.