4lpine Profile Banner
John Otander Profile
John Otander

@4lpine

Followers
5K
Following
6K
Media
335
Statuses
4K

Building things. Helped create @mdx_js, @blocks_ui, @tachyons_css, @cssstats. I love skiing ⛷❄️ and soccer ⚽️. he/him

Boise, Idaho
Joined October 2011
Don't wanna be here? Send us removal request.
@4lpine
John Otander
2 years
Pretty excited to read through this source code, I've been quite curious about how RSC works underneath the covers.
@dai_shi
Daishi Kato
2 years
⛩ New Blog Post: Introducing Waku, the minimal React Framework that enhances React Server Component (RSC) usage. Perfect for RSC enthusiasts or those curious about Waku. For detailed info and examples, check out our GitHub repo. Learn more here 👉 https://t.co/K3OWr2E4i2 🤩
0
0
3
@4lpine
John Otander
2 years
I feel like the missing piece of DX is making intellisense aware of the custom properties in a project automagically🪄
2
0
5
@4lpine
John Otander
2 years
I'm ready for CSS Modules to make a comeback.
1
2
6
@4lpine
John Otander
2 years
As apps grow, the permutations of styles are effectively infinite. Compiling to atomic classes means CSS output grows logarithmically rather than linearly.
1
0
7
@4lpine
John Otander
2 years
Atomic/Utility/Functional CSS is basically assembly for presentation so it's always cool to see libraries treat it as a compile target. https://t.co/Nq2OxpuuCs
Tweet card summary image
github.com
StyleX is the styling system for ambitious user interfaces. - facebook/stylex
1
0
7
@4lpine
John Otander
2 years
I'm that broken record at work that always says "this should be a state machine", so always delighted to see xstate iterate.
@DavidKPiano
David K 🎹
2 years
XState v5 is finally here 🚀 → Express any logic, from promises to state machines → Much simpler API → Massively improved TypeScript experience → Smaller bundle size, zero deps → Advanced statechart features → New docs, examples++ npm i xstate
0
0
15
@4lpine
John Otander
2 years
I'm back, did I miss anything?
8
0
15
@components_ai
Components AI
3 years
Get ready for a whole new type of design workflow. Just released folders and component hot swapping for Studio Pro users. Write your content once and then quickly cycle through any component in the current folder to rapidly explore design options🤤
0
2
21
@4lpine
John Otander
3 years
📈 A collection of components growing by the day!
@components_ai
Components AI
3 years
👀 116 open source components built with HTML & CSS: https://t.co/g1Cdmy0GFW
0
1
5
@4lpine
John Otander
3 years
My favorite part about these themes/templates is you'll be able to customize the HTML+CSS without writing any code.
@components_ai
Components AI
3 years
We're hard at work on a collection of open source themes and templates that can be combined to produce an endless stream of stunning design options for your content. Some examples of output after our latest updates 🤩
1
0
12
@mrmrs_
murmurs
3 years
Contrast threshold is now used as a constraint. Choose a color or background color and quickly cycle through accessible options from your theme.
1
1
17
@4lpine
John Otander
3 years
✍️ Working on text editing directly in the @components_ai canvas. The first pass is rolling with some vanilla contenteditable=true magic. In the future we'll likely iterate and add full-fledged rich text editing (via Slate).
1
1
15
@4lpine
John Otander
3 years
This'll be particularly useful for applying styles to MD(X) documents and user-provided content.
0
0
0
@4lpine
John Otander
3 years
Currently working on targeting nested elements in CSS GUI so you can have a Content/Prose component to apply child styles. Here I'm styling nested links (some UX improvements to make still):
1
1
3
@4lpine
John Otander
3 years
And a big thanks to @hturan for doing a lot of heavy lifting with the HTML imports! Our next step will be connecting HTML DOM nodes with any embedded styles, but that's a really hard problem. So this is our first baby step : )
0
0
0
@4lpine
John Otander
3 years
Meanwhile, the HTML/hyperscript AST representation lets us serialize (somewhat) simply to a lot of web-based frameworks since they're fundamentally HTML/JSX with JS sprinkled in with their own syntactic sugar for props and interactive bindings.
0
0
0
@4lpine
John Otander
3 years
The data structure we have for CSS lets us serialize the styles in different ways. Whether that's compiling it using a CSS-in-JS runtime, serializing it to a CSS prop with theme bindings, or eventually serializing to utility/functional CSS. A styles serialization "demux".
1
0
0
@4lpine
John Otander
3 years
Interestingly, we have what's effectively an embedded AST for styles/CSS inside an HTML-like AST. Similarly to how MDX is a Markdown AST with JSX in it.
1
0
2
@4lpine
John Otander
3 years
Kinda wild, but not surprising, how much compiler stuff has been involved with this project. Parsing, transforming, transforming again, serializing to any number of formats. Fun stuff!
1
0
2
@4lpine
John Otander
3 years
Implemented HTML+Markdown imports for CSS GUI. Added a sneaky nicety where if you have Markdown in the input and switch the format to HTML - it'll convert it. HTML => MD => HTML ➿
2
2
18