mobxjs/mobx-react-lite
### [`v2.0.6`](https://togithub.com/mobxjs/mobx-react-lite/releases/2.0.6)
[Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v2.0.5...2.0.6)
observer() return type should be whatever the wrapped component is ([#275](https://togithub.com/mobxjs/mobx-react-lite/issues/275))
### [`v2.0.5`](https://togithub.com/mobxjs/mobx-react-lite/releases/v2.0.5)
[Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v2.0.4...v2.0.5)
Observer batching imports are kept in production builds as side effects ([#273](https://togithub.com/mobxjs/mobx-react-lite/issues/273))
### [`v2.0.4`](https://togithub.com/mobxjs/mobx-react-lite/releases/v2.0.4)
[Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v2.0.3...v2.0.4)
Fix losing props for observer component ([#272](https://togithub.com/mobxjs/mobx-react-lite/issues/272))
### [`v2.0.3`](https://togithub.com/mobxjs/mobx-react-lite/releases/v2.0.3)
[Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v2.0.2...v2.0.3)
Remove the use of `Reflect` to support compatibility with Hermes and IE11.
### [`v2.0.2`](https://togithub.com/mobxjs/mobx-react-lite/releases/v2.0.2)
[Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v2.0.1...v2.0.2)
Fix false positive warning about observer batching.
### [`v2.0.1`](https://togithub.com/mobxjs/mobx-react-lite/releases/v2.0.1)
[Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v2.0.0...v2.0.1)
Fixed small typo, use this instead of 2.0.0
### [`v2.0.0`](https://togithub.com/mobxjs/mobx-react-lite/releases/v2.0.0)
[Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v1.5.2...v2.0.0)
A major reason for this release is support for `React.StrictMode` which is now included by default in the create-react-app template. It's mostly about internal changes in how the cleanup of reaction is handled. There is no assurance it will work with currently experimental React Concurrent mode. We still need to investigate that.
#### Observer batching
Observer batching was included by default in 1.0, but there [is a problem](https://togithub.com/mobxjs/mobx-react/issues/844) with dependency on `react-dom` which doesn't work in `react-native` and vice versa. For that reason, we had chosen a different path described [in the docs](https://togithub.com/mobxjs/mobx-react-lite/#optimize-rendering). Without choosing one of the variants, you will get a warning about it.
#### Breaking changes
- Remove deprecated hooks `useComputed`, `useDisposable`, `useObservable`
- React Native no longer has a specific build, the regular one can be used
- The `optimizeForReactDOM` and `optimizeForReactNative` are renamed to `batchingForReactDom` and `batchingForReactNative` to express the fact it's not just an optimization
- Removed undocumented `empty.js`
Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR contains the following updates:
^1.5.2
->^2.0.0
Release Notes
mobxjs/mobx-react-lite
### [`v2.0.6`](https://togithub.com/mobxjs/mobx-react-lite/releases/2.0.6) [Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v2.0.5...2.0.6) observer() return type should be whatever the wrapped component is ([#275](https://togithub.com/mobxjs/mobx-react-lite/issues/275)) ### [`v2.0.5`](https://togithub.com/mobxjs/mobx-react-lite/releases/v2.0.5) [Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v2.0.4...v2.0.5) Observer batching imports are kept in production builds as side effects ([#273](https://togithub.com/mobxjs/mobx-react-lite/issues/273)) ### [`v2.0.4`](https://togithub.com/mobxjs/mobx-react-lite/releases/v2.0.4) [Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v2.0.3...v2.0.4) Fix losing props for observer component ([#272](https://togithub.com/mobxjs/mobx-react-lite/issues/272)) ### [`v2.0.3`](https://togithub.com/mobxjs/mobx-react-lite/releases/v2.0.3) [Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v2.0.2...v2.0.3) Remove the use of `Reflect` to support compatibility with Hermes and IE11. ### [`v2.0.2`](https://togithub.com/mobxjs/mobx-react-lite/releases/v2.0.2) [Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v2.0.1...v2.0.2) Fix false positive warning about observer batching. ### [`v2.0.1`](https://togithub.com/mobxjs/mobx-react-lite/releases/v2.0.1) [Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v2.0.0...v2.0.1) Fixed small typo, use this instead of 2.0.0 ### [`v2.0.0`](https://togithub.com/mobxjs/mobx-react-lite/releases/v2.0.0) [Compare Source](https://togithub.com/mobxjs/mobx-react-lite/compare/v1.5.2...v2.0.0) A major reason for this release is support for `React.StrictMode` which is now included by default in the create-react-app template. It's mostly about internal changes in how the cleanup of reaction is handled. There is no assurance it will work with currently experimental React Concurrent mode. We still need to investigate that. #### Observer batching Observer batching was included by default in 1.0, but there [is a problem](https://togithub.com/mobxjs/mobx-react/issues/844) with dependency on `react-dom` which doesn't work in `react-native` and vice versa. For that reason, we had chosen a different path described [in the docs](https://togithub.com/mobxjs/mobx-react-lite/#optimize-rendering). Without choosing one of the variants, you will get a warning about it. #### Breaking changes - Remove deprecated hooks `useComputed`, `useDisposable`, `useObservable` - React Native no longer has a specific build, the regular one can be used - The `optimizeForReactDOM` and `optimizeForReactNative` are renamed to `batchingForReactDom` and `batchingForReactNative` to express the fact it's not just an optimization - Removed undocumented `empty.js`Renovate configuration
:date: Schedule: At any time (no schedule defined).
:vertical_traffic_light: Automerge: Disabled by config. Please merge this manually once you are satisfied.
:recycle: Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
:no_bell: Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by WhiteSource Renovate. View repository job log here.