Skip to content

Disable server-side rendering in UI development mode #94

@lemmih

Description

@lemmih

Summary

Right now, we rebuild both the front end and back end for every change, adding latency to the dev loop. Disabling server-side rendering and only building the front end when doing UI work may be beneficial. This only works when not adding or changing the server-side functions.

Alternatively, we could build the front end and back end in parallel. Right now, they're built sequentially.

Completion Criteria

  • Benchmark compiling the frontend and backend in parallel.
  • Add an environment in wrangler.toml to compile only the front end. This requires disabling server-side rendering.

Additional Links & Resources

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Ready

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions