rwilcox / odyssey

Rails, React, and deployment patterns
0 stars 0 forks source link

React Components, Start style guide, Ruby / JS test file location #7

Closed rwilcox closed 6 years ago

rwilcox commented 6 years ago

@jcarvin take a look. Let me know if you have questions in the README, or in the ui_components/index.html.erb (our style guide).

Now we have a pattern to do React components, and to be able to instantiate them on our Rails view files. I've also pulled in Material UI, so we can use those components in our React, and hopefully set the standard for How We Do Things.

For the most part our app should follow the standard Rails practice of having the server render things in the .html.erb files, and we'll use React components here and there to improve UX.

rwilcox commented 6 years ago

Also: this will fix #3 / please close this when merging.

jcarvin commented 6 years ago

Looks excellent. Got it up and running with minimal troubleshoot. The only issues for me came from trying to run it on windows, but once I rebase the vagrant branch I'll be good to go on the environment.