git clone https://github.com/bogeeee/react-deepwatch.git
cd react-deepwatch
npm install --ignore-scripts
from inside the project dir:
cd react-deepwatch
npm run test
from inside the project dir:
cd react-deepwatch
npm intall
npm run tests:web:prepare
npm run tests:web
First, read the jsDoc of WatchedComponentPersistent
, Frame
and RenderRun
about their lifecycle / relation.
poll
works at first identical to load, until after the first result is loaded.
When the frame becomes "alive" (see frame#startListeningForChanges), it schedules the re-polls then.
The RecordedLoadCall#result.state is not set to "pending" during re-poll.