Start with a single button and work up to State, events, conditions, lists and compile time. A 40-minute course where every example is live
0:00–0:08
Click and it changes: State and events
0:08–0:13
Now you see it: conditional rendering
0:13–0:18
Drawing lists: rx.foreach
0:18–0:28
Why doesn't if work? Compile time vs. runtime
0:28–0:34
Making it look good: components, props and style
0:34–0:40
Apps, pages and a fruit basket
This short course covers the concepts you'll use every day when building Reflex apps, and you learn them by clicking. Every example comes with a live, working preview right below it, so you can read the code and immediately try it out.
rx.cond)rx.foreach)if, for or len() in UI code (compile time vs. runtime)The official Reflex docs start with components and styling and build up from there. This course flips the order and starts with clicking a button to make a number go up. Once you've seen the page react, the remaining concepts follow naturally as "the things you need to make that happen."
if?" It's the most important lesson in the course.You can try every example on this page without installing anything. If you'd like to type them out yourself, add the example function to your Reflex project's main file and register it with app.add_page(function_name).
This course is based on the official Reflex docs page Getting Started › Basics, with the order and explanations reworked for beginners. All example code was run and verified on Reflex 0.10.0.
Get news about new lessons
We'll email you when this course gets new lessons or a follow-up course opens.
R
ReflexKR
Learn Python and Reflex by doing. Every example was run and verified on Reflex 0.10.0.
ReflexKR is free, with no banner ads. If it helped you, you can support it with a coffee. ☕ Buy us a coffee
Affiliate disclosure© 2026 ReflexKR · Since 2026 · CC BY-NC 4.0
Questions & answers
Ask anything about this lesson. Questions from every language version of this page appear together.