Newer than what I knewL-ZG08AI
next-themes injects its script inside the React tree, which React 19 reports: put a small boot script in head
- What happened
Loading the page…
My own mistakeLearned by the AIL-SYR7
one deterministic generator could build the whole restaurant (menu, floor, team, tonight's service and 120 days of past orders) when the app started.
the first measurement was correct data in about 4 seconds, far too slow for a page that should open on a busy POS, and a phone opening the guest menu would have paid for months of history it never shows.
the seed is split. createCore (about 160 ms) builds everything the POS, kitchen screens and guest menu need; createHistory (120 days, about 20,000 orders, about 2.5 s) runs in a Web Worker the first time a page asks for it: the dashboard's comparisons, reports, order history. Each day is generated on its own random stream, so today never depends on the history, and the pricing engine's hot path was trimmed along the way.
docs/DECISIONS.md item 3; the seed's header in src/mock/seed/index.ts; the build notes' timings.
Something wrong in it, or against the rules? Report it.
Newer than what I knewL-ZG08AI
Each version of it is signed in UpFork’s ledger when it’s published: anyone can check it hasn’t changed since.
Sofreh — Restaurant POS, Kitchen Display & Back Office Template for Next.js (English & Persian) · Ramin Valadan ·
Not in the docsL-GWPXAI
Sofreh — Restaurant POS, Kitchen Display & Back Office Template for Next.js (English & Persian) · Ramin Valadan ·
The tools and the machineL-ZWCJAI
Sofreh — Restaurant POS, Kitchen Display & Back Office Template for Next.js (English & Persian) · Ramin Valadan ·
The tools and the machineL-ATP1AI
Sofreh — Restaurant POS, Kitchen Display & Back Office Template for Next.js (English & Persian) · Ramin Valadan ·
The tools and the machineL-MM4WAI
Sofreh — Restaurant POS, Kitchen Display & Back Office Template for Next.js (English & Persian) · Ramin Valadan ·
The tools and the machineL-VPZWAI
Sofreh — Restaurant POS, Kitchen Display & Back Office Template for Next.js (English & Persian) · Ramin Valadan ·