Skip to content

Vilnius.js Meetup May 2022

Photo of
Hosted By
Tomas M.
Vilnius.js Meetup May 2022


Vilnius.js is back with an onsite format ☺️🥳.
Let's meet together to listen what Vaidas has to say about a technique to manage application states.

💡 The Meetup will be held in Lithuanian indoors at Office, Didžioji str. 28.
💡 Doors open at 18:30 (GMT +3:00).
💡 There will be NO online broadcast.

✅ Agenda

🕡 18:30 - 19:00 - Gathering, mingling, drinks and snacks
🕖 19:00 - 20:00 - “Making Impossible States Impossible: TypeScript Edition” by Vaidas Kublinskas
🕢 20:00 - 22:00 - Hangout (TBA)

📣 "Making Impossible States Impossible: TypeScript Edition" by Vaidas Kublinskas

"Making impossible states impossible" is an idea on how to tame code complexity by making invalid application states not representable on the type level. Fewer variations of the state you have, less thinking must be done around them and fewer bugs appear in your program.
This idea is more known in some functional programming languages with more advanced type systems, but it's totally doable in typescript with the help of discriminated unions.
This talk will be in two parts - at first, I will give the basics of typescript unions and how they work.
In the second part, I will present some real code examples of how this technique might make your code simpler. The examples will be in React
but the general idea might be applied in all (frontend/backend) typescript code.

👨‍💻 Bio: Vaidas Kublinskas

I started my career by writing HTML in notepad - I was creating websites for FiDi (Day of the Physicist) because I was studying physics.
I have finished with physics, but the HTML and notepad are still with me.
Currently, I am working as a front-end developer at Wix.


⚠️ Precautions

Masks are optional to wear in the venue. Please don't come if you feel any of COVID-19 symptoms.

If you would like to give a talk, host or sponsor a meetup, email us 🦸‍♀️️🦸‍♂️️

COVID-19 safety measures
Event will be indoors
The event host is instituting the above safety measures for this event. Meetup is not responsible for ensuring, and will not independently verify, that these precautions are followed.
Didžioji g. 28 · Vilnius