himself65 / himself65/rich-data

an strange react error

Open
#48 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
144
Forks
11
PR merge metrics
No merged PRs in 30d

Description

i will post 2 photos containing 2 react errors. i guess these reasons :
1- this is related to suspension mechanism of safari. i guess because of performance they do some kind of suspension or something. because also after reload sometimes it says websocket connection was closed because of suspension. this question will help : [stack overflow](https://stackoverflow.com/questions/45826271/websocket-is-closed-due-to-suspension-error-on-page-reload)
2- my application has a websocket which receives some kind of diffs to keep client synced with new data in server. i pass that data directly as value to latest version of your package in npm and maybe data change happen super quickly. for example may we have 10 data changes in a single second. maybe your component needs time to do its works and before its done value prop is receiving new data.

note i didnt see the problem in chrome.
my project and specific commit where error happened : https://github.com/hamedpro/freeflow/commit/f48c295d3fee8dd2a093022939d18fca80b71783

i dont know a reproduction that always works. but if you need i can give more info on how to try to reproduce.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.