Open udovenko opened 7 years ago
Specifically for todo-app-production
:
To be continued...
if @todo.save
render json: @todo, status: :created, location: @todo
else
render json: @todo.errors, status: :unprocessable_entity
end
Seems unusual...
application.html.erb
allways prints empty ENV['REACT_ON_RAILS_ENV']. Am I missing some configuration?redux-actions
, but I think bigger projects require something like Immutable.Record
instances with their own methods for store state elements.webpack-helper
module.store.dev.js
and store.prod.js
. They have only two different lines, I think it is better to use if
statements with comments inside single file.
I'm still not completely familiar with all techs that use in this repo so it is very likely that I've missed or misunderstood sometging. But anyway...
General:
react-router-v4-flow-webpack-2
and etc.) rather than dummy apps purpouses. I expect that apps will allways about something like todos.