Realtime Multilingual Chat App#73
Realtime Multilingual Chat App#73Srushtika merged 11 commits intoably:realtime-multilingual-chat-jsfrom
Conversation
…rahchima/tutorials into realtime-multilingual-chat-js
Srushtika
left a comment
There was a problem hiding this comment.
One small comment otherwise looks good thanks!
re the file public/bundle.js - what does it do? I can see the contents of that file? Can it be removed?
index.js
Outdated
|
|
||
| //This gets the data of other users as they publish to the channel. | ||
| channel.subscribe("user", (data) => { | ||
| var dataObj = JSON.parse(JSON.stringify(data)); |
There was a problem hiding this comment.
The data object is already in JSON format by default. Can you update this in a new commit please? No need to do a new step-wise commit.
There was a problem hiding this comment.
Please also update the tutorial one as well after having tested it, thanks.
|
@sarahchima please also update the README file to contain details of this specific project/ tutorial. Thanks! |
The client-side javascript is written in ES6 and has to be compiled first. The bundle.js file is where is compiled code is and that's what serves the frontend. |
No description provided.