@atlaskit/renderer 114.6.3 → 114.6.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @atlaskit/renderer
|
|
2
2
|
|
|
3
|
+
## 114.6.4
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#131961](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/pull-requests/131961)
|
|
8
|
+
[`4d3050222b5bc`](https://bitbucket.org/atlassian/atlassian-frontend-monorepo/commits/4d3050222b5bc) -
|
|
9
|
+
fixed issue where providerFactory needed to be passed fresh on every render
|
|
10
|
+
|
|
3
11
|
## 114.6.3
|
|
4
12
|
|
|
5
13
|
### Patch Changes
|
|
@@ -67,7 +67,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
67
67
|
var NORMAL_SEVERITY_THRESHOLD = exports.NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
68
68
|
var DEGRADED_SEVERITY_THRESHOLD = exports.DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
69
69
|
var packageName = "@atlaskit/renderer";
|
|
70
|
-
var packageVersion = "114.6.
|
|
70
|
+
var packageVersion = "114.6.4";
|
|
71
71
|
var setAsQueryContainerStyles = (0, _react2.css)({
|
|
72
72
|
containerName: 'ak-renderer-wrapper',
|
|
73
73
|
containerType: 'inline-size',
|
|
@@ -753,7 +753,11 @@ var RendererFunctionalComponent = function RendererFunctionalComponent(props) {
|
|
|
753
753
|
if (rafID) {
|
|
754
754
|
window.cancelAnimationFrame(rafID);
|
|
755
755
|
}
|
|
756
|
-
|
|
756
|
+
|
|
757
|
+
// if this is the ProviderFactory which was created in constructor
|
|
758
|
+
// it's safe to destroy it on Renderer unmount
|
|
759
|
+
// updated to match existing class component
|
|
760
|
+
if (!dataProviders) {
|
|
757
761
|
providerFactory.destroy();
|
|
758
762
|
}
|
|
759
763
|
};
|
|
@@ -48,7 +48,7 @@ import { removeEmptySpaceAroundContent } from './rendererHelper';
|
|
|
48
48
|
export const NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
49
49
|
export const DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
50
50
|
const packageName = "@atlaskit/renderer";
|
|
51
|
-
const packageVersion = "114.6.
|
|
51
|
+
const packageVersion = "114.6.4";
|
|
52
52
|
const setAsQueryContainerStyles = css({
|
|
53
53
|
containerName: 'ak-renderer-wrapper',
|
|
54
54
|
containerType: 'inline-size',
|
|
@@ -732,7 +732,11 @@ const RendererFunctionalComponent = props => {
|
|
|
732
732
|
if (rafID) {
|
|
733
733
|
window.cancelAnimationFrame(rafID);
|
|
734
734
|
}
|
|
735
|
-
|
|
735
|
+
|
|
736
|
+
// if this is the ProviderFactory which was created in constructor
|
|
737
|
+
// it's safe to destroy it on Renderer unmount
|
|
738
|
+
// updated to match existing class component
|
|
739
|
+
if (!dataProviders) {
|
|
736
740
|
providerFactory.destroy();
|
|
737
741
|
}
|
|
738
742
|
};
|
|
@@ -57,7 +57,7 @@ import { removeEmptySpaceAroundContent } from './rendererHelper';
|
|
|
57
57
|
export var NORMAL_SEVERITY_THRESHOLD = 2000;
|
|
58
58
|
export var DEGRADED_SEVERITY_THRESHOLD = 3000;
|
|
59
59
|
var packageName = "@atlaskit/renderer";
|
|
60
|
-
var packageVersion = "114.6.
|
|
60
|
+
var packageVersion = "114.6.4";
|
|
61
61
|
var setAsQueryContainerStyles = css({
|
|
62
62
|
containerName: 'ak-renderer-wrapper',
|
|
63
63
|
containerType: 'inline-size',
|
|
@@ -743,7 +743,11 @@ var RendererFunctionalComponent = function RendererFunctionalComponent(props) {
|
|
|
743
743
|
if (rafID) {
|
|
744
744
|
window.cancelAnimationFrame(rafID);
|
|
745
745
|
}
|
|
746
|
-
|
|
746
|
+
|
|
747
|
+
// if this is the ProviderFactory which was created in constructor
|
|
748
|
+
// it's safe to destroy it on Renderer unmount
|
|
749
|
+
// updated to match existing class component
|
|
750
|
+
if (!dataProviders) {
|
|
747
751
|
providerFactory.destroy();
|
|
748
752
|
}
|
|
749
753
|
};
|