A single page app prototype using React.
This method installs, builds the project and opens it automatically for you:
git clone https://github.com/oncletom/reactzine.git
cd reactzine && npm install
This method is suitable if you do not want to bother installing Node.js:
git clone https://github.com/oncletom/reactzine.git
cd reactzine && git checkout gh-pages
Then double click/launch index.html
.
Least case scenario, you do not have either git
or node
:
- download the latest release;
- uncompress it;
- double click/launch
index.html
.
A live demo is available at oncletom.github.io/reactzine.
A new version can be built and deployed by typing:
npm run deploy
- title line height/width can be an issue depending of the screen resolution/layout/orientation (too long to fit)
- the audio/video icons often overlap the title
- pagination is not
- React components are not unit tested
- the development of this prototype involves a Pull Request to the
react-classset
component - the
iframe[sandbox]
does not deal well without thesame-domain-origin
permission: YouTube videos do not load for example — the drawback is the iframe gets the permission to write cookies, so third-party user tracking - there is no nice way to detect the loading progress of an iframe, hence it is hard to improve efficiently the user experience
- non-scrolling + stretched items in height and width is tricky — even with CSS Flexbox — I spent more time on this than learning React
- React made it super easy to deal with UI display
- it would have been easy to use Browserstack/Saucelabs/wraith to test visual regression and mobile compatibility quality