-
Notifications
You must be signed in to change notification settings - Fork 378
isomorphic-fetch instead of axios #323
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
Conversation
|
Added There is still a problem that |
|
Some thoughts/reasons:
Jsut left this way. Can keep like this or need to restructure app further down to remove
|
|
@dzirtusss We're not making any ajax requests when server rendering. |
|
Review status: 0 of 5 files reviewed at latest revision, 4 unresolved discussions, some commit checks failed. client/app/bundles/comments/components/SimpleCommentScreen/SimpleCommentScreen.jsx, line 7 [r1] (raw file):
guessing this will go into ReactOnRails client/app/bundles/comments/components/SimpleCommentScreen/SimpleCommentScreen.jsx, line 33 [r1] (raw file):
Maybe these 3 lines should go into some library call? client/app/libs/ror.js, line 34 [r1] (raw file):
is this something new? the same-orgin part? Should ReactOnRails maybe make the whole header? config/initializers/react_on_rails.rb, line 34 [r1] (raw file):
this should not be necessary Comments from Reviewable |
|
😕 Ok Review status: 0 of 5 files reviewed at latest revision, 4 unresolved discussions, some commit checks failed. client/app/bundles/comments/components/SimpleCommentScreen/SimpleCommentScreen.jsx, line 7 [r1] (raw file):
|
|
There are still 2 issues with isomorphic-fetch:
What to do? |
|
|
I'm open to reasons why or why this should not be merged (after rebasing on master). |
This change is