Comments (4)
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 is not confident enough to auto-label this issue. See dashboard for more details.
from filbert-js.
@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:
-
- Object based styling
-
- Typescript support
-
- React Native support
-
- Alternate execution path for static styles vs dynamic styles (Perf)
-
- 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.
@oliviertassinari sure I'll add that to website
from filbert-js.
Related Issues (20)
- [doc] fix npm redirect link HOT 1
- add: themes for website HOT 2
- ') }; HOT 1
- ') }; HOT 1
- ). HOT 1
- Todo list 📝 HOT 3
- ') }; HOT 1
- ') }; HOT 1
- ') { HOT 1
- ') { HOT 1
- Background Image appending a semi colon? HOT 4
- Add dark/light mode to website HOT 8
- Write Tests HOT 1
- Add more description in documentation HOT 1
- Support object syntax for styling HOT 1
- Add Typescript support HOT 1
- Make Global styles theme aware HOT 3
- Non-react support? HOT 4
- Improve docs for usage of & with filbert. 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 filbert-js.