-
Notifications
You must be signed in to change notification settings - Fork 9
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
Lifecycle management with RxJS #90
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…ntBus` [skip ci] - replace `onScrolled` property of `<Reader>` with listening on `SCROLL` event
…ents.core.UNLOADED` - `EventBus` extended with some methods (`asObservable`, `off`, `offByTarget` and `completeAll`) - Add `AppService` charged with bootstrapping demo app [skip ci]
[skip ci]
[skip ci]
[skip ci]
[skip ci]
…istory.scrollRestoration = manual` ref: https://developers.google.com/web/updates/2015/09/history-api-scroll-restoration [skip ci]
…ad`) instead of adjust when to add event listeners
… fix errors on calculated rects values
[skip ci]
…`, `setContentsByUri`) as Events
…ts and fix lint errors
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Changes
EventBus
,Events
작성Connector
를 기반으로 노출되었던 react-viewer의 API를 모두 이벤트 방식으로 변경함LoadService
: 기존 데이터 복구 및 콘텐츠 로드를 담당CalculationService
: 페이지 계산 담당CurrentService
: 이전 위치 복구 및 현재 위치 계산 (+ 형광펜 위치 계산 ->CalculationService
가 더 적합할듯)annotation
)를 시범적으로 RxJS로 관리하도록 함react-redux
의connect
와 비슷하게 동작하는withStore
HOC 작성Remain issues
current.contentIndex
값을 참조)SelectionLayer
로 덮지 않아야 함Future Release