Skip to content

Instantly share code, notes, and snippets.

@chiefdeals
Last active December 4, 2023 04:29
Show Gist options
  • Save chiefdeals/3c9aec0195c238a11e73f80a998017ee to your computer and use it in GitHub Desktop.
Save chiefdeals/3c9aec0195c238a11e73f80a998017ee to your computer and use it in GitHub Desktop.
Methodology and results:
// ================================================================================================
// package.json
scripts: {
...
"clean": "rm -rf node_modules && rm -rf .next && rm -rf package-lock.json && rm -rf yarn.lock && yarn cache clean"
...
}
// ================================================================================================
// terminal
yarn remove primereact && yarn clean && yarn && yarn add primereact@... && yarn run dev
yarn remove primereact && yarn clean && yarn && yarn add [email protected] && yarn run dev
yarn remove primereact && yarn clean && yarn && yarn add [email protected] && yarn run dev
// ================================================================================================
// dataset
dataArray.length: 177
Schema: {
x_redacted: { type: String },
x: { type: String },
x: { type: String },
x: { type: String },
x: { type: Number },
x: { type: Number },
x: { type: Number },
x: { type: Number },
x: { type: Array }, // strings, length ~5-7
x: { type: Array }, // objects, 3 keys, all string values, length ~2-5
x: { type: String },
x: { type: Number },
x: { type: String },
x: { type: String },
x: { type: String }
},
// ================================================================================================
// results - impact is subjective, 3-size T-shirt scale
// numerical ascending order - actual order below.
[
'9.5.0': 'pass',
'9.6.0': 'impacted, small',
'9.6.1': 'impacted, medium', // leaving medium here, but if taken into consideration after 10.0.x - would be small
'9.6.2': 'impacted, small',
'9.6.3': 'impacted, small',
'9.6.4': 'impacted, small',
'10.0.0': 'impacted, high', // extremely high
'10.0.1': 'impacted, high', // worse than 10.0.0
'10.0.2': 'impacted, high', // tested with both filter and filter removed - no difference
'10.0.3': 'skipped --',
'10.0.4': 'impacted, high',
//!=======================================
'10.0.5': 'errors out', //! see below
'10.0.6': 'skipped --',
'10.0.7': 'skipped --',
'10.0.8': 'skipped --',
'10.0.9': 'errors out', //! see below
//!=======================================
'10.1.0': 'impacted, high',
'10.1.1': 'impacted, medium',
'10.2.0': 'impacted, high',
'10.2.1': 'impacted, medium'
]
// actual order
9.5.0
9.6.0
9.6.1
9.6.2
9.6.3
9.6.4
10.0.0
10.0.1
10.0.2
10.0.9 Error - no load
10.0.5 Error - same as 10.0.9
10.0.4 No error but still heavily impacted, assumed that 10.0.6/7/8 renders same as 5/9, skipping to 10.1.0
10.1.0
10.1.1
10.2.0
10.2.1
10.0.5/9
https://gist.github.com/chiefdeals/78c7887d4ae3246cd8a204f858e84d15
---------
TypeError: Cannot read properties of undefined (reading 'unstyled')
This error happened while generating the page. Any console logs will be displayed in the terminal window.
Call Stack
isUnstyled
file://.../node_modules/primereact/componentbase/componentbase.cjs.js (185:38)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment