Skip to content
This repository has been archived by the owner on Mar 13, 2024. It is now read-only.

Commit

Permalink
Revert "[MM-34187] - Update React version to 17* (#10739)" (#10823)
Browse files Browse the repository at this point in the history
This reverts commit 8ca0eee.
  • Loading branch information
neallred authored Jul 22, 2022
1 parent 707a67f commit f8cd6f0
Show file tree
Hide file tree
Showing 26 changed files with 437 additions and 235 deletions.
14 changes: 7 additions & 7 deletions .npm-upgrade.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,27 +46,27 @@
},
"react": {
"versions": "",
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
},
"@types/react": {
"versions": "",
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
},
"react-dom": {
"versions": "",
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
},
"@types/react-dom": {
"versions": "",
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
},
"react-is": {
"versions": "",
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
},
"@types/react-is": {
"versions": "",
"reason": "MM-45255 - React updates are handled separately from regular dependencies."
"reason": "MM-34187 - React updates are handled separately from regular dependencies."
},
"react-overlays": {
"versions": "",
Expand All @@ -82,7 +82,7 @@
},
"@hot-loader/react-dom": {
"versions": "",
"reason": "MM-45255 - React updates are handled separately from other dependencies."
"reason": "MM-34187 - React updates are handled separately from other dependencies."
},
"@types/marked": {
"versions": "",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ exports[`components/SearchableChannelList should match init snapshot 1`] = `
inputComponent={
Object {
"$$typeof": Symbol(react.forward_ref),
"displayName": "LocalizedInput",
"render": [Function],
}
}
Expand Down
4 changes: 4 additions & 0 deletions components/__snapshots__/textbox.test.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ exports[`components/TextBox should match snapshot with additional, optional prop
inputComponent={
Object {
"$$typeof": Symbol(react.forward_ref),
"displayName": "AutosizeTextarea",
"render": [Function],
}
}
Expand Down Expand Up @@ -121,6 +122,7 @@ exports[`components/TextBox should match snapshot with required props 1`] = `
inputComponent={
Object {
"$$typeof": Symbol(react.forward_ref),
"displayName": "AutosizeTextarea",
"render": [Function],
}
}
Expand Down Expand Up @@ -212,6 +214,7 @@ exports[`components/TextBox should throw error when new property is too long 1`]
inputComponent={
Object {
"$$typeof": Symbol(react.forward_ref),
"displayName": "AutosizeTextarea",
"render": [Function],
}
}
Expand Down Expand Up @@ -303,6 +306,7 @@ exports[`components/TextBox should throw error when value is too long 1`] = `
inputComponent={
Object {
"$$typeof": Symbol(react.forward_ref),
"displayName": "AutosizeTextarea",
"render": [Function],
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ exports[`components/admin_console/data_retention_settings/channel_list should ma
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(TeamFilterDropdown)",
"type": [Function],
},
"values": Object {
Expand Down Expand Up @@ -228,6 +229,7 @@ exports[`components/admin_console/data_retention_settings/channel_list should ma
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(TeamFilterDropdown)",
"type": [Function],
},
"values": Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,7 @@ exports[`admin_console/system_role_users should match snapshot 1`] = `
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(AddUsersToRoleModal)",
"type": [Function],
}
}
Expand Down Expand Up @@ -520,6 +521,7 @@ exports[`admin_console/system_role_users should match snapshot with readOnly tru
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(AddUsersToRoleModal)",
"type": [Function],
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ exports[`components/admin_console/system_users/list should match default snapsho
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(SystemUsersDropdown)",
"type": [Function],
},
]
Expand All @@ -44,6 +45,7 @@ exports[`components/admin_console/system_users/list should match default snapsho
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(UserListRowWithError)",
"type": [Function],
}
}
Expand Down Expand Up @@ -106,6 +108,7 @@ exports[`components/admin_console/system_users/list should match default snapsho
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(SystemUsersDropdown)",
"type": [Function],
},
]
Expand Down Expand Up @@ -226,6 +229,7 @@ exports[`components/admin_console/system_users/list should match default snapsho
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(UserListRowWithError)",
"type": [Function],
}
}
Expand Down Expand Up @@ -309,6 +313,7 @@ exports[`components/admin_console/system_users/list should match default snapsho
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(SystemUsersDropdown)",
"type": [Function],
},
]
Expand Down Expand Up @@ -454,6 +459,7 @@ exports[`components/admin_console/system_users/list should match default snapsho
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(UserListRowWithError)",
"type": [Function],
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelGroups should match
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(AddGroupsToChannelModal)",
"type": [Function],
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelMembers should match
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(ChannelInviteModal)",
"type": [Function],
}
}
Expand Down Expand Up @@ -357,6 +358,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelMembers should match
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(ChannelInviteModal)",
"type": [Function],
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelList should match sn
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(TeamFilterDropdown)",
"type": [Function],
},
"values": Object {
Expand Down Expand Up @@ -316,6 +317,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelList should match sn
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(TeamFilterDropdown)",
"type": [Function],
},
"values": Object {
Expand Down Expand Up @@ -923,6 +925,7 @@ exports[`admin_console/team_channel_settings/channel/ChannelList should match sn
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(TeamFilterDropdown)",
"type": [Function],
},
"values": Object {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ exports[`admin_console/team_channel_settings/team/TeamGroups should match snapsh
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(AddGroupsToTeamModal)",
"type": [Function],
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ exports[`admin_console/team_channel_settings/team/TeamMembers should match snaps
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(AddUsersToTeamModal)",
"type": [Function],
}
}
Expand Down Expand Up @@ -334,6 +335,7 @@ exports[`admin_console/team_channel_settings/team/TeamMembers should match snaps
"$$typeof": Symbol(react.memo),
"WrappedComponent": [Function],
"compare": null,
"displayName": "Connect(AddUsersToTeamModal)",
"type": [Function],
}
}
Expand Down
Loading

0 comments on commit f8cd6f0

Please sign in to comment.