Typesafe Frontend (@typesafeFE) header
Typesafe Frontend (@typesafeFE) profile picture

Type safe patterns for frontend developers Edited by Anthony Gabriele https://nitter.gq/t.co/h4IxIYLYdk All content is free. Donate: https://nitter.gq/t.co/4eapFtwx5m

Joined June 2020
Photo by Typesafe Frontend (@typesafeFE)Photo by Typesafe Frontend (@typesafeFE)Photo by Typesafe Frontend (@typesafeFE)
I'm excited to announce that spectacles-ts v1.0.6 has dramatically increased performance & inference and added support for discriminated unions. Here's the updated blog post - let me know what you think! dev.to/anthonyjoeseph/simple…
1
6
Hey hey I haven't really liked any typescript tutorials I've seen, so I've been working on one. It's a single, interactive page. Lmk what you think! Or if you know of any other good tutorials/cheatsheets tinyurl.com/yckrs5kk
1
1
goals: - brevity - immutable & pure syntax is prioritized - 99% comprehensive (ignoring OO) - code > explanations - redundancy for complex or illegible syntax - each example shows a single distilled idea - builds on itself minimally - examples should be independent as possible
Typesafe Frontend retweeted
Typescript functional programming development kit: fp-ts ⚛️ io-ts 🔏 ts-pattern 🎭 practical-fp/union-types 🤲 spectacles-ts 👓 @GiulioCanti @typesafeFE @GabrielVergnaud
3
1
23
Presenting `spectacles-ts`, a library for modifying nested objects immutably & simply. Here's a blog post about it, and video showing it off. Lmk what you think! dev.to/anthonyjoeseph/simple…
2
9
Here's a rough draft of 'immutable-ts' (like immutability-helper or immer.js). I'd love some feedback! (including the name) It's not published yet. If you'd like to try it out, there are playgrounds in the repo. Please lmk if anyone has feedback/ideas! github.com/anthonyjoeseph/im…
1
5
Typesafe Frontend retweeted
I wrote some notes up on pipeable APIs: paulgray.net/pipeable-apis/
2
9
We're looking for a new front-end engineer to join the web team at @unsplash, alongside me and @thomlbvr. Small team but big product. Strict TypeScript with plenty of functional programming. Job post coming soon but if you're interested, send me a DM! Please RT ❤️
2
23
4
38
Just released [email protected] 🎉 How many times have you forgotten to run a Task when using it as an event handler? How many hours spent debugging tasks that just won’t run? No more! Welcome the new no-discarded-pure-expression rule, which has your back! 🚀 Example 👇
1
2
13
I'm proud to introduce my functional game engine, game-ts! Features: - simple rxjs game-loop - graphics-ts for rendering - integrations with spritesheet.js, Tiled, and geometric.js Let me know what you think! npmjs.com/package/game-ts
10
This is so neat - can't wait for the blog post! For an intro to indexed monads, check out @gnomff's article on hyper-ts, which uses an indexed monad to enforce http protocol correctness dev.to/gnomff_65/hyper-ts-is…
Indexed monads are the essence of React's hooks. I've had this idea in the back of my mind for a while, ever since I saw the idea in github.com/spicydonuts/pures…, and I've wanted to find a pure model of hooks as an indexed monad. Finally, I think I'm getting somewhere. Blog post soon.
1
3
Here's the next installment in my series on fp-ts TaskEither, this time delving into Promises - why they're already great, and how TaskEither improves upon them. dev.to/anthonyjoeseph/taskei…
6
fp-ts TaskEither is three things: an Either wrapped in a Promise wrapped in IO. I've written a series going into depth about each of these. Here's the first installment, exploring Either as a superior approach to error handling. dev.to/anthonyjoeseph/either…
8
Similar to my last article, this one explores the advantages of fp-ts Task. It also proposes a set of rules for their maximum effectiveness. As always criticism is welcome! dev.to/anthonyjoeseph/should…
1
7
Replying to @ryanleecode
@ryanleecode's "Practical Guide to fp-ts" a simple & sensible introduction to the framework with a clear focus on tangible engineering. I recommend them for all typescript devs. There's no comments section, so I'll put my thoughts in this thread instead rlee.dev/writing/practical-g…
1
6
14
Article 5: 'ap' from Identity is blowing my mind. I've never seen that before. I've struggled with Applicative for a while, and now I finally have an intuitive sense beyond just "the thing that sequence uses". Best take I've seen in any language, let alone typescript
1
1
2
Overall, I think the series is filled with smart, unique takes and ramps up complexity delightfully quickly. I thoroughly enjoyed reading them all!
1
2