zachdaniel
Creator of Ash
What if you had full stack types for SPAs built with tech like React, Inertia, Vue, Svelte… but all of the power Ash Framework and Elixir on the backend? Well, you can now.
Home — ash_typescript v0.17.3
This is just 0.1.0, but it is the beginning of something big, and frankly something that we’ve been missing for a long time. Can’t wait to see what you all do with it, and a huge shoutout to our newest core team member @Torkan for all of his amazing work!
Trending in News & Updates
Today we’re releasing Oban for Python. Not an Oban client in Python. Not a pythonx wrapper embedded in Elixir. Nope, it’s a fully operati...
New
I’m a bit excited to announce that Localize and friends are now at release 1.0. Even though it’s a 1.0 release, it stands on 8 years of w...
New
I’ll be using this thread to share Hologram patch release announcements. Minor releases will continue to get dedicated threads with blog ...
New
This release unifies configuration for queues, repos, and services, swaps opaque timing integers for readable durations, and backports pe...
New
Bond brings Design by Contract to Elixir: preconditions, postconditions and invariants as executable specifications, checked at runtime a...
New
Other Trending Topics
I am happy to introduce the very α version of the new programming language compiled to BEAM.
Welcome Cure.
It has literally three kille...
New
Hobbes is a low-level distributed database for the Elixir programming language.
Hobbes provides a simple, safe, and scalable storage lay...
New
Beam Bots (or just BB for short) is a framework for building fault-tolerant robotics applications in Elixir using familiar OTP patterns. ...
New
ExRatatui lets you cook up rich terminal UIs in Elixir, powered by Rust’s ratatui via Rustler NIFs. Build interactive terminal applicatio...
New
Hello everyone. After busy few months I am happy to announce v0.1.0 of Emerge & Solve.
They are GUI (Emerge) and State management (S...
New
Corex is an accessible, unstyled UI component library for Phoenix that integrates Zag.js state machines using Vanilla JavaScript and Live...
New
Categories:
Sub Categories:
Forums
Popular Tags
- #ecto
- #liveview
- #troubleshooting
- #learning-elixir
- #deployment
- #library
- #erlang
- #testing
- #genserver
- #mix
- #absinthe
- #remote-other
- #otp
- #plug
- #how-to-question
- #macros
- #postgres
- #elixirconf
- #channels
- #exunit
- #discussion
- #code-sync
- #javascript
- #podcasts
- #onsite
- #dialyzer
- #docker
- #authentication
- #umbrella
- #full-time-contract
- #podcasts-by-brainlid
- #ecto-query
- #blog-post
- #elixir-ls
- #elixirconf-us
- #ai
- #phoenix_html
- #iex
- #graphql
- #genstage
- #websockets
- #supervisor
- #advent-of-code
- #distillery
- #processes
- #api
- #forms
- #hex
- #security
- #metaprogramming













Showing Posts 1 to 10- Show Best Posts
- Show All (oldest first)
- Show All (newest first)
mikesax
Very nice! Didn’t see that one coming, and yet it’s perfectly in line with Model your domain, derive the rest. Congratulations @zachdaniel and @Torkan, and thank you!
zachdaniel
One command now gets you a React SPA with full-stack types, backed by Ash Framework, Phoenix, and Elixir!
Install and visit localhost:4000/ash-typescript for a handy guide !
Finally, a bridge to the reliability + elegance of Elixir for our React-loving friends!
Ferenc
~Not gonna lie, Ash is one of the most confusing products/solutions I have ever encountered. To this day I have no idea what it does. It seems to be the Ethereum of the Elixir world ;).
dstockdale
Ash is less like Ethereum and more like “define your data model once, and the rest of your app (queries, APIs, authorization, etc.) just fall out of it consistently”. Maybe that makes it the Solana of the Elixir world ¯\_(ツ)_/¯?
It has taken me quite a while to wrap my head around Ash fully but that might be because I don’t think I’ve come across anything exactly like it before. Original ideas can be confusing. At least it’s original to me
Ferenc
I plan to follow the Elixir Mentor tutorial using Ash he introduced, so maybe it will click ;).
akramic
Definitely has a very steep learning curve. Am going through the Ash book and also building a side-project with it. For me, it is a way of centralising the business model and events that can change the model. It becomes the functional core of the application, the source of truth for your application in the same way the db is a the source of truth for your data. No more repetition of writing schemas and then having to write equivalent migrations etc, and all this barely scratches the surface of all the other capabilities of Ash and its libraries and extensions. What @zachdaniel and the Ash team have produced is quite simply brilliant - and all this made freely available to the Elixir community. Incredible.
zachdaniel
Is this your perception having tried it? Or your perception from reading about it online? If the latter, I’d encourage you to break out the keyboard and just try and use it, because it will be infinitely more obvious. Try the live book tutorial linked from the Ash website for some basics: https://ash-hq.org.
bpat
Been having a lot of fun playing with this extension. I didn’t have to wrestle with esbuild at all. Not having to duplicate types is going to clean up a lot of boilerplate, redundant client code I have for one rather complicated React component. A lot of awesome activity in the Ash realm lately, and this might be favorite new addition in a minute.
zhangzhen
AshTypescript is awesome. I want to know how does one do server-side rendering like phoenix-inertia?
Guy14
That looks neat, I’ll give it a try soon !