Instacart Jun 21, 2017

RxJava 1 -> RxJava 2 (Understanding the Changes)

Article Summary

RxJava 2 was a complete rewrite with breaking APIs. If you're still on version 1, here's what changed and why it matters.

Kaushik Gopal breaks down the RxJava 1 to 2 migration in this technical guide. The rewrite wasn't arbitrary: RxJava 2 now implements the Reactive Streams specification, making interop between reactive libraries much easier.

Key Takeaways

Critical Insight

RxJava 2's adoption of Reactive Streams standardization means better library interop, but requires understanding the Flowable vs Observable distinction.

Part 2 covers the subscription disposal changes that trip up most teams during migration.

Recent from Instacart

Related Articles