Skip to content

@react-rxjs/core@0.4.4

Compare
Choose a tag to compare
@josepot josepot released this 15 Oct 08:35
· 149 commits to main since this release

Many performance optimizations due to changes on the internals:

  • Avoid using rxjs operators internally (now we only use Observable and Subject).
  • Prevent unnecessary calls to react's setState.
  • Remove some unnecessary observable enhancers that were used internally.
  • Get rid of the "unsubscription grace time": this was a very dangerous performance optimization, that didn't actually optimize that much. It was not documented and it was not part of the API, so (at least in theory) no one should have been relying on it. Also, it was a time-bomb for those that were unknowingly relying on it, so we've decided to remove it. If your App starts misbehaving after upgrading to 0.4.4, it's very possible that's your case. So, please be sure that you have the necessary top-level subscriptions so that you don't rely on render to start the subscriptions.