Open make-github-pseudonymous-again opened 3 years ago
We already load all preceding pages anyway (since we do not use something similar to percolate:find-from-publication). Given the same content to display, this change would not increase the data transfer. See https://github.com/infoderm/patients/blob/0641c9276a78770129aa5c80a065c99d19e5da0b/imports/api/pageQuery.js#L5
percolate:find-from-publication
Whether it improves user experience has to be decided.
Maybe we can keep a separate .../page/x url functionality? Or combine the two in some way?
.../page/x
Using for instance https://github.com/bvaughn/react-window
react-virtual seems like a better pick.
react-virtual
See https://codesandbox.io/s/stupefied-knuth-we26fo?file=/src/main.jsx
We already load all preceding pages anyway (since we do not use something similar to
percolate:find-from-publication
). Given the same content to display, this change would not increase the data transfer. See https://github.com/infoderm/patients/blob/0641c9276a78770129aa5c80a065c99d19e5da0b/imports/api/pageQuery.js#L5Whether it improves user experience has to be decided.