Typescript: declaration vs assertion If you "need" to use as any always know it's a code smell. What's more, I think the keyword as has been used too many times in a code I've seen. I think this is because Typescript developers I have worked with
Callbacks and useEffect In the previous article, we talked about using objects in useEffect's deps. Now it's the time to talk about callbacks. In a PR I've revied once I've seen the author implement a component that was responsible for selecting a consultant. It'
Objects as useEffect deps Some time ago my company decided to switch from native to React Native. For the last 2 years, I have gathered enough experience (I hope) to be able to say a word or two about React. The first thing I want to cover is a common mistake developers make, even
The learning materials list for RxSwift Reactive programming is awesome and really makes complex I/O stuff simple. However, FRP is totally different approach how you look at the events and programming. Such a change in thinking requires good quality materials which can make the learning process simpler and quicker. Here’s the list of materials
Memory management in RxSwift - DisposeBag I’ve noticed a lot of beginners in RxSwift ask about DisposeBag. DisposeBag isn’t a standard thing in iOS development neither in other Rx’s implementations. Basically, it is how RxSwift handles memory management on iOS platform. In this article, I want to answer for few question like what
Top mistakes in RxSwift you want to avoid When we learn a new programming language or new frameworks we always do some mistakes. This is how we people learn things. In this article, I’m want to show you my top 7 mistakes which I did during my Rx trials. I hope I will help you to avoid
RxCaseStudy: Default value after a countdown Recently somebody asked me how he can send a default value if the stream hasn’t sent a new value in 5 minutes using RxSwift. The final solution is short, however it uses few operators like merge, concat & flatMapLatest together which makes it more … advanced usage of Rx. I