Skip to content

Slow build time when exceeding 20 fields in form #113

@gv-sothebys-ivar

Description

@gv-sothebys-ivar

Hi,

I'm using Re-Formality version 4.0.0.-beta-17 and noticed when exceeding more than 20 fields the build times goes up exponentially. In my project I need up to 50 fields and for that case it just doesn't even build.

I created a fresh project to test this, I only have one file implementing a simple form hook and added 20 fields to input, output and validate. I then added one field at a time to see the build time of the test project was growing and this was the result when reaching 25 fields:

image

Any idea why this is happening? I have used formality from earlier versions from you guys and I haven't had any problem with large forms before 🤔

I have added the test project as a zip so you can test this out for yourself
re-formality-test.zip

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions