Skip to content

Commit

Permalink
Version release (#2591)
Browse files Browse the repository at this point in the history
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
github-actions[bot] and github-actions[bot] authored Nov 3, 2020
1 parent d0e6778 commit 44b6413
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 deletions.
5 changes: 0 additions & 5 deletions .changeset/two-parents-crash.md

This file was deleted.

16 changes: 11 additions & 5 deletions packages/mobx/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# mobx

## 6.0.3

### Patch Changes

- [`d0e6778d`](https://github.com/mobxjs/mobx/commit/d0e6778de73f6dfad61283c04103049732b2aea2) - Create ESM bundles with NODE_ENV correctly replaced so it can be used in browser (#2564)

## 6.0.2

### Patch Changes
Expand Down Expand Up @@ -979,7 +985,7 @@ A deprecation message will now be printed if creating computed properties while

```javascript
const x = observable({
computedProp: function () {
computedProp: function() {
return someComputation
}
})
Expand All @@ -1004,7 +1010,7 @@ or alternatively:

```javascript
observable({
computedProp: computed(function () {
computedProp: computed(function() {
return someComputation
})
})
Expand All @@ -1022,7 +1028,7 @@ N.B. If you want to introduce actions on an observable that modify its state, us
```javascript
observable({
counter: 0,
increment: action(function () {
increment: action(function() {
this.counter++
})
})
Expand Down Expand Up @@ -1148,10 +1154,10 @@ function Square() {
extendObservable(this, {
length: 2,
squared: computed(
function () {
function() {
return this.squared * this.squared
},
function (surfaceSize) {
function(surfaceSize) {
this.length = Math.sqrt(surfaceSize)
}
)
Expand Down
2 changes: 1 addition & 1 deletion packages/mobx/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mobx",
"version": "6.0.2",
"version": "6.0.3",
"description": "Simple, scalable state management.",
"main": "dist/index.js",
"module": "dist/mobx.esm.js",
Expand Down

0 comments on commit 44b6413

Please sign in to comment.