Million.js + React Rendering Speed Demo — Prompt Example
CODE PREVIEW
P
Prompt
Create a React component demo using Million.js to optimize rendering performance. Show a list of 1000 items with real-time updates, comparing before and after using Million block. Include a toggle to show render time.
Million.jsはReactの仮想DOMを直接DOMパッチに置き換えるコンパイラ。1000件のリストをリアルタイム更新し、Million blockのON/OFFでレンダリング時間の違いを確認できます。
Prompt Overview
Million.js is a compiler that replaces React's virtual DOM with direct DOM patching. It updates a list of 1000 items in real-time, allowing you to see the difference in rendering time by toggling Million block ON/OFF.
Was this prompt helpful?
Comments
Comments appear after moderation