Jekyll + React Any Ideas ?
3.4K+ developers have started their personal blogs on Hashnode in the last one month.
Write in Markdown · Publish articles on custom domain · Gain readership on day zero · Automatic GitHub backup and more
Professional human being for 28 years
Out of curiosity - why and where would you use React? I had a quick look at your blog and React seems like total overkill. You are serving static HTML files, you don't have moving parts and your website doesn't have (and probably doesn't need) a changing state. You won't get any benefit from React's Virtual DOM and you don't need React's components, because you have Jekyll's own template system (Liquid).
There is a big possibility of overcomplicating the whole build process by introducing new dependencies and end up serving unneeded JS code to your users.
Why not write your interaction and presentation logic in plain JavaScript, instead of using UI libraries and bundlers?
Laravel, Vue.js, CSS, SASS and more...
I have done this.
To get started, I went to google.com and typed "using jekyll with react"
Shockingly, that gave me this result:
Using Webpack and React with Jekyll – Alli Zadrozny – Medium
I followed that tutorial, and lo and behind, the two are integrated and it works great.
Comments (2)