These are chat archives for Ian-Stewart-Binks/Foosball

14th
Jan 2016
Ian Stewart-Binks
@Ian-Stewart-Binks
Jan 14 2016 16:42
Hmm. So let me start off by saying that my knowledge of this is very limited. However, JSX is the syntax used for React (however, I'm pretty sure you can just use js instead). Not certain why the react npm module is necessary, let me look into it.
Anirudh Mukundan
@Anirudh94
Jan 14 2016 16:55
Emmett Underhill
@emmettu
Jan 14 2016 18:36
thanks for the tut @Anirudh94
Anirudh Mukundan
@Anirudh94
Jan 14 2016 18:39
@Ian-Stewart-Binks did u follow that tut too?
Ian Stewart-Binks
@Ian-Stewart-Binks
Jan 14 2016 18:39
@Anirudh94 Very loosely.
Anirudh Mukundan
@Anirudh94
Jan 14 2016 18:41
I don't quite get when exactly JSX is precompiled to js
Ian Stewart-Binks
@Ian-Stewart-Binks
Jan 14 2016 18:42
@Anirudh94 I think it's because browsers don't know what to do with JSX
Anirudh Mukundan
@Anirudh94
Jan 14 2016 18:43
no I understand the 'why', I dont get 'when' this happens
and what does the precompilation
Ian Stewart-Binks
@Ian-Stewart-Binks
Jan 14 2016 18:43
@Anirudh94 IIRC it can happen either on the server or in the browser.
And yeah, sorry I misread when for why
browser.js was mentioned somewhere.
Anirudh Mukundan
@Anirudh94
Jan 14 2016 18:44
yeah...
the 'JSX in depth' section is totally not in depth at all LOL
Ian Stewart-Binks
@Ian-Stewart-Binks
Jan 14 2016 18:45
lol, agreed.