Skip to content

Commit ab708c2

Browse files
committed
Use more generic explanation on why React legacy API is used
1 parent 67931e3 commit ab708c2

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/scripts/main.js

+2-3
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ function Root() {
1313
return <p>Hello from Starter</p>;
1414
}
1515

16-
// React legacy API is used because react-helmet is not compatible with the
17-
// new one introduced in React v18. See:
18-
// https://github.com/nfl/react-helmet/issues/669#issuecomment-1134228545
16+
// project-seed does not use the latest React API introduced in version 18
17+
// as commonly used modules might be incompatible with it (e.g. react-helmet v6.1.0).
1918
render(<Root />, document.querySelector('#app-container'));

0 commit comments

Comments
 (0)