Document editor crashes on large documents with   characters

Open
#653 3 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
typescript
Domain
frontend

Research direction

Start by reproducing the crash in the Keystatic website using the Astro runtime, local storage, and a large document containing   characters. Compare editing a large document with saving one, then verify that neither action crashes the browser tab.

Written by the indexing model from the issue text.

Description

bug

Description

The keystatic website will crash my tab whenever a make an edit to a large document fields or save a particularly large one. This seems to be caused by memory leaks.

There are no errors printed to the browser console or terminal. The page will just error out.

https://github.com/Thinkmill/keystatic/assets/26830309/f5b04d95-40bb-45fa-98b4-debe8d68c726

Specs

Running on the astro runtime just locally using the local storage option.
@keystatic/core 0.1.5
@keystatic/astro 1.0.2

Dominant language
TypeScript
Stars
2.4k
Forks
159
Avg merge
21h 41m
Merged PRs (30d)
2

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from Thinkmill/keystatic

All issues in Thinkmill/keystatic

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.