facebook / facebook/lexical

Feature: Minified Version of JSON Code

Open
#4,104 9 comments 0 reactions 0 assignees View on GitHub
enhancement serialization
Dominant language
TypeScript
Stars
23.9k
Forks
2.2k
Avg merge
1d 14h
Merged PRs (30d)
55

Description

As of now, the amount of data that is stored for the lexical editor is quite a lot. For a small amount of text, the resulting JSON files can be massive, and it only seems to grow exponentially. Looking at the output, there are a lot of useless defaults being used. Is there any way those could be stripped out and put back in with a function?

As of now we're using binary json in our database, which is helping to reduce this, but I feel like that's not a full solution

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.