What the Heck Do "Declarative" and "Reactive" Actually Mean?

certificate
Recording and certification are available to Multipass and Full ticket holders only
Please login if you have one.
Rate this content
Bookmark

You’ve built apps with frontend frameworks before? - Then you surely came across the terms ""declarative"" and “reactive”. Since React got released in 2013, most modern UI frameworks or libraries want to be it, but what do these terms actually mean? And what’s the difference between “declarative” and “imperative” code?


It took me a long time to grasp these concepts - but when I finally did, I saw frontend frameworks in a totally new light! And I hope you will feel the same after this talk.


In this very interactive workshop, we’ll delve into a lot of code examples to deeply understand the terms - with examples using vanilla JavaScript, React and Svelte. But the learnings will be universal. After this talk you’ll be able to confidently join discussions about the ""declarative"" and ""reactive"" nature of any new package or library.


This workshop has been presented at React Day Berlin 2022, check out the latest edition of this React Conference.

FAQ

The workshop is focused on diving deep into specific terms and concepts, incorporating interactive exercises to help participants confidently use and discuss these concepts in various frameworks, evaluating their pros and cons.

The workshop utilizes interactive exercises to facilitate a deeper understanding of the terms and concepts being discussed, enabling participants to apply these confidently in real discussions and scenarios.

In the workshop, an example used is tidying up a room. The imperative approach involves giving exact instructions on what to do step-by-step. The declarative approach involves showing a picture of a tidy room and asking to match the room to that state without specific instructions.

The presenter interacts with participants through a chat, specifically using the Zoom chat during the presentation, to engage with them and answer questions.

The presenter of the workshop is a freelance software engineer who builds mobile and web applications, teaches, and occasionally gives company trainings. They began working with technologies like React and React Native in 2015.

The presenter specializes in React and React Native for building mobile and web applications. They started using these technologies around 2015, initially when React Native released its iOS version.

Understanding declarativeness and reactiveness is crucial as these concepts are prevalent in modern front-end frameworks, influencing how user interfaces are built to be more intuitive and responsive.

Andre Kovac
Andre Kovac
69 min
12 Dec, 2022

Comments

Sign in or register to post your comment.

Video Summary and Transcription

This workshop explores the concepts of declarativeness and reactiveness in front-end frameworks like React and Svelte. It discusses the challenges of working with the imperative approach and the benefits of moving to a declarative approach. The workshop also covers the implementation of derived values and conditional logic in both React and Svelte. It concludes with a discussion on Flutter and the advantages of declarative and reactive code in modern UI frameworks.
Video transcription and chapters available for users with access.