No video

RxJS: destroy the state machine! - Stenver Jerkku / Front-Trends 2016

  Рет қаралды 15,182

Front-Trends

Front-Trends

Күн бұрын

Learn our story how we discovered RxJS, how it helped to bring SaleMove from a massive state machine into an elegant event-based reactive platform. We started out with a big state machine that was difficult to maintain, test and develop. As the application grew we quickly saw that another approach was needed. After discovering RxJS, we quickly adopted the event-based reactive approach.
In this talk I am going to give you an overview of RxJS and why should you use it. I am going to talk about how once we adopted the event-based approach, it completely changed the way we think about state and state programming. All this with code examples.

Пікірлер: 19
@wadenweh
@wadenweh 7 жыл бұрын
Where is the point about "destroy the statemachine"?
@back2bikes336
@back2bikes336 6 жыл бұрын
If you understand the implications of what Rx can do, then a finite state machine is to a large extent unnecesary. The last example where he is filtering clicks is basically a state machine in 3 lines of code
@ikebipe
@ikebipe 5 жыл бұрын
@@back2bikes336 So it is a statemachine
@deepfakescoverychannel6710
@deepfakescoverychannel6710 Жыл бұрын
@@back2bikes336 no. State machine func should receive new state and handle old state, for example finalize some resources for old state, and initialize for new state. It is impossible to do with RxCrutch
@orlyffob8638
@orlyffob8638 8 жыл бұрын
A fantastic introduction to RxJS. Everything is a stream!
@chriszhang3629
@chriszhang3629 7 жыл бұрын
Love this talk! I am just starting to learn RxJS and this talk helps me a lot!
@VladyVeselinov
@VladyVeselinov 7 жыл бұрын
5:00 "Your project manager is probably gonna get hyped when he sees this" hahaha :D
@Icr125riderI
@Icr125riderI 8 жыл бұрын
Stenver that was great. Thanks!
@pawel.badenski
@pawel.badenski 7 жыл бұрын
it sounds like he's saying "reactive brogramming" :)
@DanielNgo2014
@DanielNgo2014 4 жыл бұрын
He didn't know what is a fsm.
@KarjamP
@KarjamP 7 жыл бұрын
If his state machines really were difficult to maintain, test and develop, he wasn't practicing good development, to begin with. State machines are supposed to help with the control flaw, not destroy it! Sate machines are used whenever the need to keep track the change in input is needed within a system, or when a need to keep track of what it's doing becomes apparent. State machines co e in all sorts of sizes, from the AI within video games to even parsers of a programming language. Even the operating system of the computer itself happens to be one bug state mechine. If people were to find problems with using state machines, it's often because they were using state machines in inappopriate ways. These people are not entirely aware of what they're doing. For the record, RxJS is, itself, a variant on the state machine idea. Inputs are given to the system in the form of "events", with which the system may respond by putting itself into an altered state.
@shirshzibbu330
@shirshzibbu330 4 жыл бұрын
downvote. no mention of state machine or its destruction
@dayvie9517
@dayvie9517 6 жыл бұрын
RxJS subjects are stateful, you will never support states because that would mean working without data.
@ABDULSALAMAYINLA
@ABDULSALAMAYINLA 7 жыл бұрын
Scott please I'm tired !!! do you live in tree house now ?
@behnamrasooli8801
@behnamrasooli8801 5 жыл бұрын
Did someone actually check the correctness of his talk before letting him go up the stage and mislead other developers? @7:37 "Event is fundamentally a collection?" What the F? You mean a stream of events is a collection, right?
@frutiboy1
@frutiboy1 8 жыл бұрын
this dude does not know what he speaks about
@Hammerzeiterrrr
@Hammerzeiterrrr 8 жыл бұрын
why
@thatoneuser8600
@thatoneuser8600 2 жыл бұрын
@@Hammerzeiterrrr honzajde does not know what he speaks about
RxJS 5   Thinking Reactively | Ben Lesh
39:04
AngularConnect
Рет қаралды 80 М.
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 165 МЛН
wow so cute 🥰
00:20
dednahype
Рет қаралды 29 МЛН
Joker can't swim!#joker #shorts
00:46
Untitled Joker
Рет қаралды 40 МЛН
Вы чего бл….🤣🤣🙏🏽🙏🏽🙏🏽
00:18
David Khourshid - Infinitely Better UIs with Finite Automata
25:33
Ng-Cruise - RxJS By Example with Ben Lesh
31:55
This Dot Media
Рет қаралды 11 М.
WebRTC Crash Course
1:10:06
Hussein Nasser
Рет қаралды 226 М.
I'm in IoT - Vadim Makeev / Front-Trends 2017
38:32
Front-Trends
Рет қаралды 1,6 М.
Ben Lesh - Async Redux Actions With RxJS
35:11
ReactRally
Рет қаралды 27 М.
Ben Lesh - Advanced RxJS: State Management and Animations
41:53
Jazoon TechDays
Рет қаралды 18 М.
RxJS In-Depth - Ben Lesh
30:44
AngularConnect
Рет қаралды 64 М.
RxJS Observables Crash Course
1:13:05
Traversy Media
Рет қаралды 273 М.
Survive 100 Days In Nuclear Bunker, Win $500,000
32:21
MrBeast
Рет қаралды 165 МЛН