Fela

77 posts

Fela

Fela

@felajs

JavaScript Styling toolbelt. CSS in JS. Open Source. Created by @robinweser. #cssinjs

Katılım Mayıs 2014
20 Takip Edilen165 Takipçiler
Fela
Fela@felajs·
Fela 12.1.2 is out! - enforceLonghand now respects vendor-prefixed properties - improvements to snapshot testing with React 18 - TypeScript fixes for react-fela github.com/robinweser/fel…
English
0
0
1
0
Fela
Fela@felajs·
Fela 12.1.0 and 12.1.1 are out! - React 18 support for Jest snapshots - Autoprefixing of multiline values - Enhanced static style rendering with theme support - More options for enforced longhands - Vulnerability fixes See github.com/robinweser/fel…
English
0
2
5
0
Fela
Fela@felajs·
Here are the release notes: github.com/robinweser/fel… Please note: Due to a tiny bug in passing props, we had to push 12.0.1 as a hotfix.
English
0
0
0
0
Fela
Fela@felajs·
Happy to announce: Fela 12 is out 🎉 @robinweser wrote an announcement post with some explanation and his thoughts for the future: weser.io/blog/introduci… TL;DR: Massive performance improvements and a reworked monorepo setup.
English
1
1
9
0
Fela
Fela@felajs·
@layershifter This is my latest local build (Chrome 98, M1 MacBook Pro 2021) using the core essentials unit, fallback-value and prefixer + enforce-longhands for deterministic shorthand-longhand resolution.
Fela tweet media
English
0
0
0
0
Oleksandr Fediashov
Oleksandr Fediashov@layershifter·
@felajs Can you please add numbers with plugins like expand (that increase an amount of rules)? With manually expanded styles (to shorthands) it's not so optimistic...
Oleksandr Fediashov tweet media
English
2
0
0
0
Fela
Fela@felajs·
Sneak peek on Fela 12 🤫 The upcoming major release focuses on performance optimisations and stability improvements. Migrating from 11 to 12 only requires a change in plugin order. More information is coming tomorrow!
Fela tweet media
English
2
1
2
0
Fela
Fela@felajs·
@layershifter Also there‘re some improvements that are not yet published (rc.2 coming soon)
English
0
0
0
0
Fela
Fela@felajs·
@layershifter These examples include several plugins already. I wouldn‘t expand shorthands anymore but rather use fela-enforce-longhands. Of course, adding all existing plugins will make it slower, but I tested with only the ones needed to really compare the libs.
English
1
0
0
0
Fela
Fela@felajs·
Also: I'm super excited how fast most CSS in JS libraries became. These benchmarks include React rendering and everything. For the deep tree example, this alone takes approximately 3.8ms. So we're really looking at ~1ms to actually process and render the styles.
English
0
0
0
0
Fela
Fela@felajs·
@heyAustinGil But we don‘t extract CSS at build-time if that‘s what you‘re asking for. This has several reasons, but most prominently the dynamic nature of Fela cannot be reflected in extracted CSS without losing its benefits.
English
0
0
0
0
Fela
Fela@felajs·
@heyAustinGil Depends on what you are doing. By default, they‘re injected on render, thus during runtime. But if you implement SSR (which we‘d always recommend) your styles are rendered on the server and send with your markup and then only rehydrated in runtime.
English
1
0
0
0
Fela
Fela@felajs·
Fela 11.7 is out 🎊 After a long time, we had a small release today to introduce fela-plugin-hover-media. github.com/robinweser/fel…
English
0
1
3
0
Fela
Fela@felajs·
@montogeek Hmm. 1. don‘t use Fela for it and insert their script tag 🙈 2. check their sources file and inject the url(s) for the required variants manually
English
1
0
0
0
Fernando Montoya
Fernando Montoya@montogeek·
@felajs What is the recommended way to load a font from Google Fonts?
English
1
0
0
0
Fela retweetledi
ngParty
ngParty@ngPartyCz·
Tomorrow is a big day for #cssInJs users! @pfeiffer_andrei will present his thorough analysis of almost all existing solutions on the market! #StyledComponents @emotioncss @felajs #treat #CSSModules #compiled #JSS #Stitches #StyledJSX #goober and others 👉eventbrite.com/e/ngparty-regu…
ngParty@ngPartyCz

What’s more challenging than choosing a #js framework? if you guessed it’s a #CSSinJS library you’re totally right... Fear no more dear friends! Thanks to thorough analysis by @pfeiffer_andrei choosing the right path was never easier! RSVP 🎟️eventbrite.com/e/ngparty-regu… #meetup

English
1
4
6
0
Fela
Fela@felajs·
Just a quick patch release today: 11.6.1 is out! Includes improvements for TypeScript users. Enjoy! github.com/robinweser/fel…
English
0
1
0
0
Fela retweetledi
Kitty Giraudel
Kitty Giraudel@KittyGiraudel·
Addy’s tip is definitely solid. As a side note, @felajs gives atomic CSS out of the box and in a transparent way, so you never end up with hundreds of KBs of CSS. For instance, the N26 website has ~35Kb of gzipped CSS. It’s not tiny by any mean, but it also doesn’t grow anymore.
Addy Osmani@addyosmani

Tip: Remove unused CSS from production builds of your CSS libraries. My @TailwindCSS was ~294KB gzipped. With PurgeCSS and a safelist, improved Largest Contentful Paint by ~1.8s & CSS size to ~9KB (even less w/Brotli) goo.gle/tailwcss

English
0
2
4
0
Fela
Fela@felajs·
Fela 11.6.0 is out! Several improvements & bug fixes for plugins such as responsive-value, multiple-selectors. CSS custom property rehydration and React improvements. Also includes several TypeScript improvements thanks to the community! Check it out: github.com/robinweser/fel…
English
1
3
6
0
Fela
Fela@felajs·
@ck1125 Kingkiller Chronicles by Patrick Rothfuss 😊
English
0
0
1
0
Fela
Fela@felajs·
@miguelsmsilva @robinweser @mxstbr @Media Better late than never ;) But don't worry, there're a lot of great CSS-in-JS libs out there, so you eventually used another good one which is just fine!
English
0
0
1
0
Robin Weser
Robin Weser@robinweser·
Just published a new article! "The Shorthand-Longhand Problem in Atomic CSS" is an in-depth explanation of the biggest caveat of atomic #cssinjs (e.g. @felajs , Styletron). It highlights possible solutions and their pros/cons. Read it here: weser.io/blog/the-short…
English
4
5
17
0