-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
2 changed files
with
55 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
--- | ||
title: Migration to v1.x | ||
sidebar_position: 6 | ||
--- | ||
|
||
import Tabs from '@theme/Tabs'; | ||
import TabItem from '@theme/TabItem'; | ||
|
||
# Migration to v1.x | ||
|
||
## Installation | ||
|
||
Reassure v1 RC is available using `next` npm tag: | ||
|
||
<Tabs> | ||
<TabItem value="npm" label="npm"> | ||
```sh | ||
npm install --save-dev reassure@next | ||
``` | ||
</TabItem> | ||
<TabItem value="yarn" label="yarn"> | ||
```sh | ||
yarn add --dev reassure@next | ||
``` | ||
</TabItem> | ||
</Tabs> | ||
|
||
## Breaking changes | ||
|
||
### Rename `measurePerformance` to `measureRenders` | ||
|
||
The signature of the function did not change. Old name is still available but will generate warning messages when used. | ||
|
||
### Rename `resetToDefault` to `resetToDefaults` | ||
|
||
The signature of the function did not change. Old name is no longer available. |