Vilnius.js Meetup May 2022


Details
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 Wix.com 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: Etmonų Špunka, Etmonų str. 3, Vilnius
📣 "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.
LinkedIn: https://www.linkedin.com/in/vaidas-kublinskas-a78088147/
⚠️ 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 usergroup@vilniusjs.lt 🦸♀️️🦸♂️️
COVID-19 safety measures

Vilnius.js Meetup May 2022