Open Source Project
A blog plugin based on React JS.Your Motivation
Take the chance to learn React JS and make myself the blog plugin.Steps You Took
- learn React JS (obviously)
- setup npm: dependencies
- setup Webpack: ReactJS, BabelJS, webpack-dev-server
- setup Grunt: sass (css preprocessor), uglify (javascript minifior)
Challenges and Obstacles
New syntax for ReactJS (more than JS, more than HTML)
Vulnerable for Cross-site Scripting
Now using: https://facebook.github.io/react/tips/dangerously-set-inner-html.htmlBecause the output of the contents of a post from Blogger API is purely html......
Results
![]() |
| Main page of the blog |
![]() |
| Content page of a post |
Future Possibilities
- Integrate with different blog provider: Tumblr, Facebook blog
- Make it more modular


沒有留言:
張貼留言