JavaScript

Topic: Anything JavaScript, ECMAScript including Node, React, ...
Feb 17, 2019 17:15
Thanks. Looking for some closure on the conversation on the accepted answer here (stackoverflow.com/questions/54734636/…). Not sure why the content projected child is available in the parent ngOnInit hook.
Feb 17, 2019 16:05
Would anyone happen to have a sec to answer a quick Angular question?
Oct 3, 2017 20:49
ok tys gents
Oct 3, 2017 20:29
goddamn
Oct 3, 2017 20:29
okay... that's all i have
Oct 3, 2017 20:29
when i resize the window, the webpage corrects itself with the correct window innerHeight/innerWidth dims
Oct 3, 2017 20:29
okay so i have a laptop plugged into an external monitor with a much higher dpi/resolution. when I open my webpage on the external monitor (browser is IE11, unsure if important), it uses the window.innerHeight/innerWidth dimensions from the laptop screen... causing the webpage size to be significantly scaled down.
Oct 3, 2017 20:26
vue <3
Oct 3, 2017 20:26
hah
Oct 3, 2017 20:26
god damn honestly i don't even know how to phrase this
Oct 3, 2017 20:23
is it okay to ask a quick open ended JS question here? or not really the place...
Aug 19, 2014 17:20
Anyone have a second to help with easy Ember JS conceptual stuff?
Aug 16, 2014 00:29
Building a Node/Express/Ember app and have a few questions if any one has a sec
Oct 17, 2011 20:08
hi
 
Aug 22, 2018 19:45
Thanks!
Aug 22, 2018 19:44
Exactly
Aug 22, 2018 19:44
But your suggestions make sense
Aug 22, 2018 19:44
Yeah, unfort it's easy for me to fall into the habit of structuring my state "visually", i.e., how it is rendered on my app
Aug 22, 2018 19:43
I see...
Aug 22, 2018 19:41
Each view has its own state that, for the most part, is distinct from other views.
Aug 22, 2018 19:41
Hey, thanks for helping. Why are reducers based on views bad/unusual?
Aug 22, 2018 19:41
I like the idea of having a Cart store though, let me post it as a third solution.
Aug 22, 2018 19:41
Suppose in my case that we don't have any cart state. Maybe instead of addToCart, you can think of the button click as a markProductAsFavorite or something?
Aug 22, 2018 19:41
Given my current state structure, they need to know how to find the corresponding Product in my state. The index parameter I am passing to addToCart allows each reducer to find the corresponding Product. No, I do not have a Cart reducer... let me think about how that would work.
 

C#

General discussions about the c# language, Squirrels | gist.gi...
Jul 24, 2013 17:29
its not under assemblies/framework
Jul 24, 2013 17:28
no i don't think the dll reference is there
Jul 24, 2013 17:25
ok checking
Jul 24, 2013 17:23
and i've been reading the MSDN docs
Jul 24, 2013 17:23
Jul 24, 2013 17:22
oops sorry, well i'm not sure... i included the using System.... but I didn't manually add any reference to any reference folder
Jul 24, 2013 17:21
@Andre
Jul 24, 2013 17:21
SqlXml sqlXml = reader["ScenarioData"].GetSqlXml();
Jul 24, 2013 17:20
the*
Jul 24, 2013 17:20
Isn't the namespace to include for the GetSqlXml() method System.Data.SqlClient? I keep getting th error that there is no definition for GetSqlXml()
Jul 24, 2013 17:17
Is it acceptable to ask quick questions in here?
 

Lounge<C++>

Today we're daydreaming about C++26 reflection
Jan 7, 2012 00:37
hi
Jan 6, 2012 07:22
hi