An attempt to visualize the power of million+react
Observations
- Million was able to render 1M items successfully.
- Let alone 1M items, React failed to render even 100K items. Yes, browser threw page not responsive ? (tried both, chrome and firefox)
I guess now we know why it was named Million ?
Conclusion
- Million+react is definitely faster & better than plain React in this case.
Try it yourself
-
start million-react by doing
cd million-react
yarn
yarn install
-
start react-vite by doing
cd react-vite
npm i
npm run dev
Link to Million https://millionjs.org/
for helping me with this.