Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Client refactoring #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
alex35mil merged 12 commits into master from client-refactoring
Sep 27, 2015
Merged

Client refactoring #96

alex35mil merged 12 commits into master from client-refactoring
Sep 27, 2015

Conversation

@alex35mil
Copy link
Member

@alex35mil alex35mil commented Sep 18, 2015

  • Remove unused karma stuff
  • Remove unused gulp and setup npm lint scripts
  • Update webpack configs with app/vendor code splitting
  • Use only npm run scripts
  • Move js app to /client/app
  • Load initial data via props (after merge Bump react_on_rails gem version to 1.0.3 #99 )

@justin808 Should we make /client/assets/javascripts -> /client/app transition here?

Copy link
Member

@alexfedoseev Yes, let's move /client/assets/javascripts to /client/app and update the README.md. Thanks!

Copy link
Contributor

@dylangrafmyre dylangrafmyre Sep 19, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be changed to app-bundle.js and vendor-bundle.js?

Copy link
Member Author

@alex35mil alex35mil Sep 19, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@dylangrafmyre Nice catch! Will fix it today.

Copy link
Member

@justin808 justin808 Sep 20, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@alexfedoseev @dylangrafmyre Should we also upgrade to current npm?

Copy link
Member Author

@alex35mil alex35mil Sep 20, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, and to current node also.

Copy link
Contributor

@dylangrafmyre dylangrafmyre Sep 20, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also when we upgrade to npm@3.3.4 we need to change the npm install/upgrade instructions in the client/REAMDE. shrinkwrap.json gets automatically updated during npm install/upgrade similar to Gemfile.loc.

image

Copy link
Member Author

@alex35mil alex35mil Sep 21, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

By saying "yes", I meant current npm@2.x.x. I suggest to wait a month or so before upgrade to 3.x.x, since there is performance issue.

@alex35mil alex35mil mentioned this pull request Sep 19, 2015
.gitignore Outdated
Copy link
Member

@justin808 justin808 Sep 20, 2015

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Copy link
Member

@alexfedoseev Let's try this out with the master on react_on_rails, and if that works, I'm going to push the next version of react_on_rails.

Copy link
Member

I just pushed up the new version of https://rubygems.org/gems/react_on_rails. Let's get that in here, and let's put in server rendering.

Copy link
Member Author

@justin808 Ready to review!
P.S. I haven't applied component-oriented structure and normalizr in this PR, will do it in the next one.

Copy link
Member

@alexfedoseev Please update to the latest react_on_rails gem.
@samnang @dylangrafmyre Any feedback on this one?

Copy link
Member

LGTM

Copy link
Member Author

@justin808 I've updated gem to 0.1.5, but all html from server is escaped now: http://share.minima.pro/dMgm

Copy link
Member

@alexfedoseev if all looks good, please merge and push latest to Heroku 👍

Copy link
Contributor

@justin808 FYI, Codeship automatically deploys to heroku any merges to master.

alex35mil added a commit that referenced this pull request Sep 27, 2015
@alex35mil alex35mil merged commit 05a6d44 into master Sep 27, 2015
@alex35mil alex35mil deleted the client-refactoring branch September 27, 2015 21:16
Copy link
Member Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /