How to make custom forms more efficient

Hello - I have multiple forms on a Filament page. The forms all work, but the performance is very slow. Each
update
call takes between 2-3 seconds in my local environment. I'm worried that in production each request will take 5-10 seconds. Between all the forms on the page, there are roughly 500 form components.

I tried breaking the forms up into even more forms (with each form containing less data), but the performance stayed the same.

Does anyone have any advice for how to improve this performance? Each field is reactive and updates the relevant record when modified using
afterStateUpdated
. I would like to avoid using a traditional
Update
button like with standard
EditRecord
pages. There are a lot of data fields and if the user forgot to hit
Update
it would take them a long time to recreate their work. Thank you!
Was this page helpful?