Fela (@felajs) profile picture

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

Joined May 2014
Photo by Fela (@felajs)Photo by Fela (@felajs)Photo by Fela (@felajs)Photo by Fela (@felajs)Photo by Fela (@felajs)Photo by 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/fela/r…
2
5
Happy to announce: Fela 12 is out 🎉 @robinweser wrote an announcement post with some explanation and his thoughts for the future: weser.io/blog/introducing-fe… TL;DR: Massive performance improvements and a reworked monorepo setup.
1
1
1
9
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!
2
1
2
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.
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-reg…
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-reg… #meetup
1
4
1
6
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.
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
2
4
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/fela/r…
1
2
6
Look mum, I made people scream & cry again 😬
Gotta love Medium's CSS.
2
1
2
4
Just shipped a small patch release fixing an issue with redundant renderings with the experimental optimizeCaching-flag enabled. If you've been using it and eventually found a client-server mismatch, this should fix it. See github.com/robinweser/fela/r…
1
2
This article explains our new recommend strategy for shorthand vs. longhand CSS properties. If you ever ran into issues, go check it out and learn more about the reasons and all possible solutions!
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-shorthand-…
3
11.5.0 is out with many exciting additions! - propertyPriority configuration + fela-enforce-longhands - fela-plugin-multiple-selectors - improved fela-plugin-embedded - experimental optimizeCaching feature-flag for drastic perf improvements Check it out: github.com/robinweser/fela/r…
1
2
And more announcements - several improvements are coming to Fela in the next days: - Performance optimisations (30-50% faster in our benchmarks) - Deterministic shorthand/longhand resolution - Improvements for fela-plugin-embedded - fela-plugin-multiple-selectors
1
4
Our new website is live now! 🎉 We updated all guides and recipes to the latest recommendations and added a bunch of cool things such as: versioned documentation, a comprehensive getting started page and more. Check it out: fela.js.org
1
4
📝 New blog post: Retrospective on Fela ✨ In which I discuss the decision of using @felajs for styling, pros and cons of the solution and share some tips and tricks I gathered over the years. hugogiraudel.com/2020/11/23/…
1
1
1
7
We bet on @felajs years ago at N26 because it was at the time the only library supporting both SSR *and* atomic output without enforcing atomic input. We had ups and downs but all in all I’m comfortable with the choice. Our CSS scaled up nicely comparatively to other ways.
1
3