-
Notifications
You must be signed in to change notification settings - Fork 318
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
proposal for get and observe #106
Conversation
Whereas this way, there has to be observer registration in any component that wants to use data, we could instead have only one object which observes, and keeps the data in the store fresh, and then use React and mapStateToProps to implement the observer pattern in components. Why do you prefer the proposed approach? |
…s required for the observing framework.
I pushed some changes, adding missing parts |
I've already solved this messy code issue in the past: |
Added some margin to the right aligned columns
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
Column labels, and allow set initial cell width
What? Why?
Components need to be able to fetch data and then observe change to that same data. Rather than put the data in redux store, we allow components to subscribe to the QuerySession object.
Changes proposed in this pull request:
Checks
can be automatically added by git if you run the
git-commit
command withthe
-s
option)Any screenshots or GIFs?
If this is a new visual feature please add a before/after screenshot or gif
here with e.g. GifGrabber.
Notify reviewers
Read our Pull request merging
policy. If you are part of the
cBioPortal organization, notify the approprate team (remove inappropriate):
@cBioPortal/frontend
If you are not part of the cBioPortal organization look at who worked on the
file before you. Please use
git blame <filename>
to determine thatand notify them here: