fix: move form data retrieval logic to client (#5411)

* fix: only execute onChange if form modified

* fix: move document loading logic from RSC to DocumentInfoProvider

* fix: make it work for globals

* chore: remove unnecessary diffs

---------

Co-authored-by: Jarrod Flesch <jarrodmflesch@gmail.com>
This commit is contained in:
Alessio Gravili
2024-03-21 16:38:12 -04:00
committed by GitHub
parent 11cbb774bc
commit 35b0d213a6
6 changed files with 135 additions and 35 deletions

View File

@@ -25,12 +25,12 @@ const networkConditions = {
'Fast 3G': {
download: ((1.6 * 1000 * 1000) / 8) * 0.9,
upload: ((750 * 1000) / 8) * 0.9,
latency: 150 * 3.75,
latency: 1000,
},
'Slow 4G': {
download: ((4 * 1000 * 1000) / 8) * 0.8,
upload: ((3 * 1000 * 1000) / 8) * 0.8,
latency: 20 * 3.75,
latency: 1000,
},
}