Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

embed large initial state as JSON text #1519

Merged
merged 1 commit into from
Feb 3, 2020

Conversation

jchip
Copy link
Member

@jchip jchip commented Feb 1, 2020

It's more efficient to embed large JSON data as text and JSON.parse it, instead of embed as JS Object directly.

https://quipblog.com/efficiently-loading-inlined-json-data-911960b0ac0a

@jchip jchip force-pushed the json-text-initial-state branch from 06a62eb to 827ac3c Compare February 1, 2020 19:21
@jchip jchip merged commit e39afa7 into electrode-io:master Feb 3, 2020
@jchip jchip deleted the json-text-initial-state branch February 17, 2020 19:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants