Tyler Barker
@tylerbarker.com
Dev in Aus 🇦🇺 Building with #ElixirLang
tylerbarker.com
tylerbarker.com
Thanks Rodrigue! Really appreciate that :)
April 18, 2025 at 12:01 PM
Thanks Rodrigue! Really appreciate that :)
I’ve found for cases like this it’s pretty effective to create a project a curate a knowledge base to fill the holes. Find the best docs, blog posts, etc and convert them to markdown: github.com/mixmark-io/t...
You’ll usually need to tidy up the resulting MD, but still.
You’ll usually need to tidy up the resulting MD, but still.
GitHub - mixmark-io/turndown: 🛏 An HTML to Markdown converter written in JavaScript
🛏 An HTML to Markdown converter written in JavaScript - mixmark-io/turndown
github.com
March 24, 2025 at 10:56 AM
I’ve found for cases like this it’s pretty effective to create a project a curate a knowledge base to fill the holes. Find the best docs, blog posts, etc and convert them to markdown: github.com/mixmark-io/t...
You’ll usually need to tidy up the resulting MD, but still.
You’ll usually need to tidy up the resulting MD, but still.
I’ve seen Membrane! Looks really cool. Been meaning to integrate it into Prototape for a while just haven’t got around to it 😅
February 25, 2025 at 9:08 AM
I’ve seen Membrane! Looks really cool. Been meaning to integrate it into Prototape for a while just haven’t got around to it 😅
The proposed syntax for type annotations: ‘$ Schema.t() -> Schema.t()’ 😉
February 8, 2025 at 8:36 PM
The proposed syntax for type annotations: ‘$ Schema.t() -> Schema.t()’ 😉
Saving this for the dozens of us in the NBA <> Elixir Venn diagram when that day comes.
February 8, 2025 at 10:08 AM
Saving this for the dozens of us in the NBA <> Elixir Venn diagram when that day comes.
Not sure about its relevance to phx.gen.auth but it doesn’t get much more real-world and in production than Plausible Analytics: github.com/plausible/an...
GitHub - plausible/analytics: Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics.
Simple, open source, lightweight (< 1 KB) and privacy-friendly web analytics alternative to Google Analytics. - plausible/analytics
github.com
February 3, 2025 at 4:45 AM
Not sure about its relevance to phx.gen.auth but it doesn’t get much more real-world and in production than Plausible Analytics: github.com/plausible/an...
I don’t cover Solid but this article goes over a lot of the kinds of stuff I’m talking about: tylerbarker.com/posts/livevi...
LiveView Is Not a Zero-JS Framework, It’s a Zero-Boring-JS Framework - Tyler Barker
A recent Twitter discussion about the “ceiling” of server-side rendered frameworks like Phoenix LiveView has caused quite a stir. Most of it was in good faith, and many devs have responded...
tylerbarker.com
January 15, 2025 at 10:18 PM
I don’t cover Solid but this article goes over a lot of the kinds of stuff I’m talking about: tylerbarker.com/posts/livevi...
Yep! It’s helpful to pass the hook object (this) into the component as a prop.
After you init signals in the component fn, setup your handleEvents with the hook obj to interact with LV, and fire any pushEvents to get initial data from LV before returning your HTML (Solid component fns run once).
After you init signals in the component fn, setup your handleEvents with the hook obj to interact with LV, and fire any pushEvents to get initial data from LV before returning your HTML (Solid component fns run once).
January 15, 2025 at 10:18 PM
Yep! It’s helpful to pass the hook object (this) into the component as a prop.
After you init signals in the component fn, setup your handleEvents with the hook obj to interact with LV, and fire any pushEvents to get initial data from LV before returning your HTML (Solid component fns run once).
After you init signals in the component fn, setup your handleEvents with the hook obj to interact with LV, and fire any pushEvents to get initial data from LV before returning your HTML (Solid component fns run once).
Yep exactly. You just pass whatever HTMLElement you like, be it the hook.el or another you’ve queried for as the 2nd arg to render (the file needs to be JSX/TSX).
January 15, 2025 at 8:58 PM
Yep exactly. You just pass whatever HTMLElement you like, be it the hook.el or another you’ve queried for as the 2nd arg to render (the file needs to be JSX/TSX).
- I've not tried using Solid with E2E reactivity because I treat each usage like an embedded micro-frontend with handleEvent + pushEvent.
- Multiple instances of a JS hook can share state if you return the hook object from a function and manage state in the closure.
- Multiple instances of a JS hook can share state if you return the hook object from a function and manage state in the closure.
January 15, 2025 at 4:09 AM
- I've not tried using Solid with E2E reactivity because I treat each usage like an embedded micro-frontend with handleEvent + pushEvent.
- Multiple instances of a JS hook can share state if you return the hook object from a function and manage state in the closure.
- Multiple instances of a JS hook can share state if you return the hook object from a function and manage state in the closure.
- IndexedDB is great for persisting state across connections, I use it for audio files.
- I often write hooks in a TSX file alongside Solid.js when I need it, it's very simple to render from mounted().
- I often write hooks in a TSX file alongside Solid.js when I need it, it's very simple to render from mounted().
January 15, 2025 at 4:09 AM
- IndexedDB is great for persisting state across connections, I use it for audio files.
- I often write hooks in a TSX file alongside Solid.js when I need it, it's very simple to render from mounted().
- I often write hooks in a TSX file alongside Solid.js when I need it, it's very simple to render from mounted().
I write a lot of front-end code for my LiveView app because it does client-side audio recording/playback/processing. A few takeaways:
- Phoenix esbuild is great, but I much prefer the control I get from ejecting from that to a build.js file.
- JS hooks can get you really, really far.
- Phoenix esbuild is great, but I much prefer the control I get from ejecting from that to a build.js file.
- JS hooks can get you really, really far.
January 15, 2025 at 4:09 AM
I write a lot of front-end code for my LiveView app because it does client-side audio recording/playback/processing. A few takeaways:
- Phoenix esbuild is great, but I much prefer the control I get from ejecting from that to a build.js file.
- JS hooks can get you really, really far.
- Phoenix esbuild is great, but I much prefer the control I get from ejecting from that to a build.js file.
- JS hooks can get you really, really far.
Haha that’s aliased to “pix” for me. Got it from a mentor at my first Elixir gig in 2018 and it stuck.
January 14, 2025 at 4:46 AM
Haha that’s aliased to “pix” for me. Got it from a mentor at my first Elixir gig in 2018 and it stuck.