mantrajs / mantra-sample-blog-app

A sample blog app built with Mantra
http://mantra-sample-blog-app.herokuapp.com/
MIT License
296 stars 104 forks source link

A prettier example with airbnb eslint rules and Material-UI #86

Closed m-schrepel closed 7 years ago

m-schrepel commented 8 years ago

The eslint rules weren't working with the newest version of eslint, so I wanted to just use {extends:airbnb} because it is super simple and easy. Their react rules are also super strict and full of good hints, especially for people just starting to learn mantra or dig into react on an intermediate level. This required adding proptypes, some refactoring, and a lot of dangling commas.

After that, I just wanted to dig in and learn the mantra spec a bit better myself, so I figured I would switch up the UI for fun and learning. I ended up creating a new action, but the logic is mostly the same and the UI is tweaked.

arunoda commented 8 years ago

Thanks for the material UI integration. But, we keep this without it just make this a very simple sample. So, no one needs to know what's meterial UI is. (But, if needed it's pretty straight forward)