diff --git a/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036162.md b/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036162.md
index e76b742adac..838b5a8d649 100644
--- a/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036162.md
+++ b/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036162.md
@@ -69,12 +69,6 @@ assert(
# --seed--
-## --after-user-code--
-
-```jsx
-ReactDOM.render(, document.getElementById('root'))
-```
-
## --seed-contents--
```jsx
diff --git a/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036163.md b/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036163.md
index 50ec8a5bf23..f8168b4ea8f 100644
--- a/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036163.md
+++ b/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036163.md
@@ -59,12 +59,6 @@ assert(
# --seed--
-## --after-user-code--
-
-```jsx
-ReactDOM.render(, document.getElementById('root'))
-```
-
## --seed-contents--
```jsx
diff --git a/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036164.md b/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036164.md
index 43e10221210..3d36a7d6ac3 100644
--- a/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036164.md
+++ b/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036164.md
@@ -70,12 +70,6 @@ assert(
# --seed--
-## --after-user-code--
-
-```jsx
-ReactDOM.render(, document.getElementById('root'))
-```
-
## --seed-contents--
```jsx
diff --git a/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036165.md b/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036165.md
index 3f98507054f..5b75e6ebb37 100644
--- a/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036165.md
+++ b/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036165.md
@@ -53,12 +53,6 @@ assert(
# --seed--
-## --after-user-code--
-
-```jsx
-ReactDOM.render(, document.getElementById('root'))
-```
-
## --seed-contents--
```jsx
diff --git a/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036166.md b/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036166.md
index afbe52e51b2..104449b6670 100644
--- a/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036166.md
+++ b/curriculum/challenges/english/blocks/react/5a24c314108439a4d4036166.md
@@ -16,6 +16,20 @@ In the code editor, the `TypesOfFood` component is already rendering a component
Nest two components inside of `Fruits` — first `NonCitrus`, and then `Citrus`. Both of these components are provided for you behind the scenes. Next, nest the `Fruits` class component into the `TypesOfFood` component, below the `h1` heading element and above `Vegetables`. The result should be a series of nested components, which uses two different component types.
+# --before-all--
+
+```js
+globalThis.NonCitrus = function NonCitrus() {
+ return React.createElement('div', null);
+};
+globalThis.Citrus = function Citrus() {
+ return React.createElement('div', null);
+};
+globalThis.Vegetables = function Vegetables() {
+ return React.createElement('div', null);
+};
+```
+
# --hints--
The `TypesOfFood` component should return a single `div` element.
@@ -68,61 +82,6 @@ assert(
# --seed--
-## --before-user-code--
-
-```jsx
-class NonCitrus extends React.Component {
- render() {
- return (
-
-
Non-Citrus:
-
- - Apples
- - Blueberries
- - Strawberries
- - Bananas
-
-
- );
- }
-};
-class Citrus extends React.Component {
- render() {
- return (
-
-
Citrus:
-
- - Lemon
- - Lime
- - Orange
- - Grapefruit
-
-
- );
- }
-};
-class Vegetables extends React.Component {
- render() {
- return (
-
-
Vegetables:
-
- - Brussel Sprouts
- - Broccoli
- - Squash
-
-
- );
- }
-};
-```
-
-## --after-user-code--
-
-```jsx
-ReactDOM.render(, document.getElementById('root'))
-```
-
## --seed-contents--
```jsx