Skip to content

Commit

Permalink
[fix] White Screen in Production by rolling back to React 18
Browse files Browse the repository at this point in the history
  • Loading branch information
TechQuery committed Jun 27, 2024
1 parent 7b64ab3 commit 63ad8bc
Show file tree
Hide file tree
Showing 5 changed files with 543 additions and 361 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ which is inspired by [WebCell scaffold][5].
## Technology stack

- Language: [TypeScript v5][2]
- Component engine: [PReact v10][1]
- Component engine: [React v18][1]
- State management: [MobX v6][3]
- Component suite: [Ant Design v5][4] + [Bootstrap v5][9] (CSS utilities)
- HTTP Client: [KoAJAX v1][10]
Expand Down
11 changes: 4 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@
"mobx-react-helper": "^0.3.1",
"mobx-restful": "^1.0.0",
"mobx-restful-table": "^2.0.0-rc.1",
"preact": "^10.22.0",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"react-router": "^6.24.0",
"react-router-class-tools": "^0.1.3",
"react-router-dom": "^6.24.0",
Expand All @@ -37,6 +38,8 @@
"@parcel/transformer-webmanifest": "~2.12.0",
"@types/lodash": "^4.17.5",
"@types/node": "^18.19.39",
"@types/react": "^18.3.3",
"@types/react-dom": "^18.3.0",
"husky": "^9.0.11",
"lint-staged": "^15.2.7",
"parcel": "~2.12.0",
Expand All @@ -45,12 +48,6 @@
"typescript": "~5.5.2",
"workbox-cli": "^7.1.0"
},
"alias": {
"react": "preact/compat",
"react-dom/test-utils": "preact/test-utils",
"react-dom": "preact/compat",
"react/jsx-runtime": "preact/jsx-runtime"
},
"prettier": {
"singleQuote": true,
"trailingComma": "none",
Expand Down
Loading

0 comments on commit 63ad8bc

Please sign in to comment.