« first day (2734 days earlier)      last day (2221 days later) » 

3:00 PM
You probably need that ^
Since you want to retain the actual classes and objects rather than just what JSON alone can describe
 
Oh it's not running the render ufnction
 
it's pretty great that we're finally getting read of variables
variables might have been the biggest mistake in computers
 
lol that dude on the right heard something he DIDN'T like it seems
 
Or something similar
 
@BenjaminGruenbaum have you used that?
 
3:01 PM
@Mosho once, why?
 
Oh, I guess BrowserRouter had to be inside the context provider
 
can you really download your browsing history from facebook
 
wow, an actual good question, stop the presses of course he answers with that super open-ended, ambiguous "I believe all your info is there"
 
It wasn't too elegant but it was nice - there is no way around needing to build your model
 
@KendallFrey It's advertised as 'downloading what you have shared', but yeah.
 
3:01 PM
@hilli_micha He probably has no idea lol
Employee #54333 did that
 
including sites you visit with like buttons
 
@BenjaminGruenbaum wondering if it's good
 
cause that would be a lot of data
 
That was actually what I was wondering when the question was asked.
 
you do need it, if you arrange your state in classes
 
3:02 PM
oh look it's hillary 2.0
 
which you don't have to and I almost never decide to
 
> The Virtual You
 
@Mosho it can be simpler - the alternative would be to store the info as preloaded responses of calls and trigger the action @MadaraUchiha
 
Sounds like a shitty self-help book
 
@KendallFrey nah it's her, just a lot of makeup
 
3:02 PM
LMFAO what a stupid answer
> Everyone owns their own content
 
That is, save the JSON the client is expecting to fetch from the results and hydrate after triggering the actions from that.
 
Hillary has been elected as 4 different congressmembers at once
 
yes that's definitional mark
 
Hah, wrecked
 
LOL, the women on this committee just do not put up with any shit.
 
3:03 PM
It sounded like he had a good answer though
 
STUNNED
 
> I can't let you filibuster right now.
 
He was like "Oh shit I know this" and the congresswoman was like "shut up and sit down, kid"
 
@BenjaminGruenbaum I don't have separate actions for API calls and state change
 
@MadaraUchiha so if you have a UserStore instead of serializing and deserializing it with mobx/serializr you cann UserStore.processUsers({JSON}) with the server data which is what the FE calls to update the store from the backend regularly.
 
3:04 PM
That could change though
 
> I know, I can use talking point #49 from the congress folder. accessing.. accessing..
 
@MadaraUchiha Why does it matter anyway? TipRanks doesn't do hydration - but generally SSR is something you have to code for
 
@Cereal I saw that too, he was SO ready to dance in his field of expertise, but then the building got blown up.
 
I'm more worried about classes within classes
 
@MadaraUchiha classes within classes is what serialization libraries solve
 
3:04 PM
@BenjaminGruenbaum We're aiming for hydration
 
> 13 pages BOI
 
Father don't care tho
Only mothers
 
This senator isn't playing, lol.
 
> Please get back to me once you've reviewed the 13 page act
 
a l g o r i t h m s
 
3:05 PM
Fuck, the sass is top-notch from this woman
 
@hilli_micha makes sense, imagine how much they get every day
 
What the fuck is diamond and silk
That's the second time someone's gotten super upset about that
 
okay, I liked you lady until your shitty attempt at a mic drop
 
ohhi
 
Hearing these hyper specific questions is so embarassing
 
3:06 PM
> hey, you see this facebook post? lol
 
@Cereal from what I gather, some conservative thing that got shut down by fb
 
Them gorram algorithms
 
omg, this lady even starts, "No bullshit, only yes or no." omg, Women in Congress are legit amazing.
 
Zuckerberg's like
 
3:08 PM
No, no, stil laround 2 billion users
 
@ndugger we're slowly building towards his entire face
 
lol it's clooney
 
@hilli_micha Man, I'm loving this chick more than the last one.
You're the fucking CEO, how do you not know about these things?
 
HE CAN'T even just say no.
It has to be "I'm not farmilar"
 
because they probably get sued daily.
 
3:09 PM
20 hours ago, by Kendall Frey
This man is unaware of a lot of things for being a CEO of one of the top sites on the internet
 
@hilli_micha Because he knows the name
and zero details
But if he says yes
She can go ham
But he can't say no, because how would he not know wabout it
 
Heads are going to roll when he gets back to Facebook headquarters.
 
she's asking questions with an ulterior motive
 
> is that correct
urgh
 
just silence
 
3:10 PM
Omg shes so merciless. "You're the CEO of the company, and you don't know..."
 
@Cereal that's how this whole thing has been all along
 
@KendallFrey Yes, but she's going at it with like 100 questions
 
that's just lawyer modus operandi
 
It's dumb
They're not asking questions to learn anything, they're trying to crucify him
 
first time I've seen him just offer nothing
 
3:11 PM
guilty until proven innocent
 
no "team" no "I'll get back to you"
just silence
 
wait is the cushion missing
 
they got him a taller chair
 
His battery will get low! Does anyone have a lightning cable?
 
@hilli_micha Qi
 
3:11 PM
Or USB-C? He accepts both
Oh yeah, Qi, nice. Zuckerberg really moving with the times
This guy does cocaine, no way he doesn't.
 
so long as he doesn't move too far from his platform
 
Is save() and restore() still considered a bad practice today?
 
user1596138
@KendallFrey He seemed to be aware of everything you'd expect
 
??
 
user1596138
What kind of jerkoff thinks the CEO knows about individual groups/pages being banned lmfao
 
3:13 PM
@JasonStackhouse there is little other options if you need to save and restore your canvas state
who told you they were bad?
 
@Jhawins Right?
Like jesus christ
 
user1596138
Cruz was my favorite part
 
Next someone's going to ask why his son's farmville account is shit
 
@Jhawins he seemed to be particularly unaware of facts that put him in a negative light
 
user1596138
If I were in the room I'd have said to shut the fuck up and let me answer the question.
 
3:13 PM
> I wrote algorithms before
 
dayum
 
user1596138
You don't get to interrupt every 3 seconds
 
my sd cards are pretty new
 
user1596138
@KendallFrey Like what
 
@Jhawins Things his lawyers handle
 
3:14 PM
@Jhawins I don't know the specifics, I'll have to talk to my team and get back to you
2
 
user1596138
Of course he doesn't.
 
user1596138
He has to give perjury proof answers.
 
He's not under oath, there is no perjury.
 
user1596138
Haha yesterday was just embarrassing on the part of our gov. and a win for FB
 
1 hour: "ZUCKERBERG ACCUSES OBAMA OF LYING"
 
3:15 PM
I didn't see it that way
 
I just saw it as a giant pedantfest
 
I saw it as a bunch of silly questions, and bad answers to the real questions.
 
on all sides
 
i think it was equally embarrassing for both parties tbh
 
I don't give a shit about the content, just the entertainment
 
3:16 PM
^ ^
 
user1596138
I didn't hear any real questions and I saw very, very little professionalism from anyone but Mark Zuckerberg
 
he's so (intentionally) bad at answering questions
 
in general, yes.
 
user1596138
Lots of interrupting not giving opportunities to even answer questions. "JUST SAY YES OR NO" is what a moron says when questioning someone
 
@Jhawins they are time limited
they don't wanna hear the fluff, they want a yes or no
 
3:17 PM
implemented my own VGG16 haha not a good idea
 
user1596138
> Hey how bout them nicks
> Well I..
> SHUT THE FUCK UP HOW BOUT THEM NICKS
 
almost killed my GPU
 
user1596138
That entire hearing haha
 
This guy's terrible lol
 
Not only the time limit, but historically, Zuckerberg has shown he will give vague, worthless answers to their questions if they let him.
 
3:17 PM
@hilli_micha filibustering.
 
he spent all of yesterday dodging
 
Yea, if he shovels bullshit for four minutes, he only has to answer one question per senator.
 
it's really amazing how little he knows about this well-publicized consent decree
 
Someone should have told these congress people what an api is
 
Have you guys tried Factorio?
3
 
3:18 PM
he pays other people to know those things
 
@ssube Found a pretty large readup on scaleway/k8s/ansible (10 pages) tauceti.blog/post/…
 
@Cereal Api is one of the guys from the Simpsons, right?
 
i'm not at all surprised that he doesn't
 
@JasonStackhouse You can't just say that
 
@JasonStackhouse Is that like minecraft?
 
3:19 PM
no
minecraft is better
 
He just called a developer a partner
 
Don't get me wrong, a lot of these politicians are asking questions based on pure conjecture, but Marky Mark does himself no favors, like I said, it's embarassing, but it's also wildly entertaining.
 
@rlemon I had to step away for like 20 minutes
 
Like, using facebook's api makes you a partner with facebook
 
@hilli_micha they're really bad at asking and still manage to trick him
 
3:19 PM
Not really like Minecraft. It's more of an engineering and logistical version of Sim City
 
user1596138
Well. I personally am very embarrassed on behalf of my uninformed, unprofessional congress
 
user1596138
But that's just my american opinion.
 
a few of the trick questions yesterday were like that, incredibly telegraphed, and he still gave The Wrong Answer
 
Of course they can, it's an API
I hate everything about this hearing
 
@JasonStackhouse Ohhh, so more like Starcraft, got it.
 
user1596138
3:20 PM
I would've slept like a baby if I was Zucc
 
I have a 8gb image.. the new sd cards are slightly too small to fit it.
even tho it is cloned from another 8gb card
 
@Trasiva Could be. It's like being Christopher Columbus as an engineer on an alien planet
 
@JasonStackhouse That sounds more like Warcraft.
 
@BenFortune cool, that's gonna take a bit of time to read
 
3:21 PM
Nice Kendall. I just bought the game last weekend and I've got 16 hours on record already
 
@Trasiva it's Minecraft with a tech tree, and the ability to build machines that craft everything for you
 
@KendallFrey psst When do you think he's going to notice I'm trolling?
 
@JasonStackhouse \o/
 
> clearly we cannot just take developers word for it
 
never trust a jquery developer
 
3:22 PM
@Trasiva lol ok
 
no, developers are always honest
 
I never lie
 
why would a developer lie
 
java developers are liars
 
@KendallFrey We talked about Factorio a bunch before I went MIA.
 
3:22 PM
KevinB it's called a standup
 
@ssube It's really in depth and not just "here, run this" and it's tailored for scaleway which is great
 
I don't remember everyone who plays everything :/
 
Hey Kendall, have do you see belts in real life? I've gotten this terrible visuals in real life where I see belts moving around in grass or any tipe of green background
 
@JasonStackhouse This is perfectly normal lol
almost expected
Apr 2 at 18:51, by Kendall Frey
Right now I see passive provider chests in my sleep
 
It's so weird, man. No other game has done this to me.
 
3:24 PM
Mark should just have everyone repeat questions over and over to burn the clock
 
@JasonStackhouse There's a reason it's aka Cracktorio
 
@JasonStackhouse try rimworld
 
This woman is coming out hard
2
 
> remember how you sucked every year?
 
just wait until you try expansion mods
s/out//
 
3:24 PM
Not really a huge fan of Rimworld - I would rather play Banished instead
 
Damn.. this lady is like God laying out all your sins before the pearly gates, calm down Jehovah.
 
Banished is prettier, but too shallow
 
rimworld is WAY more involved and has way more gameplay than banished
I don't even think I could compare the two
 
Damn, talk about crucifying someone where they stand.
 
@hilli_micha no witnesses
 
3:25 PM
I'll just take purgatory for a few years, god damn.
 
and I have a few hundred hours in banished, and like 1500 hours in rimworld
 
rimworld is basically a procedural interactive novel generator
 
External regulations are equally terrifying though
Like, would I even be able to add a login to my website?
 
Could be, man. It's just not the game for me. Same with Fortnite - all my friends play it, but I just can't seem to get into it
 
@Cereal you'll have to use the blockchain
 
3:26 PM
everyone stands the same way
 
> What's a large number?
> A handful
 
look at the guys behind her
 
Can someone move the fucking pitcher?
 
@KendallFrey Best part of the hearing so far
 
@KendallFrey whoa, you're ahead of me by the time it took to type and post that
 
3:27 PM
@hilli_micha all along I thought that was a water pitcher
 
that showed up exactly as she said it
 
@KendallFrey It's a sex pitcher and it's plastic, It's going somewhere when they finally decide to move it.
 
liverspots perked up
 
@Ikari @Zirak @MadaraUchiha I teamed up with some friends and we beat retribution on expert last night :D
 
3:28 PM
His B12 pills kicked in
 
\o/
 
I also got the uprising genji skin, and the new torb skin
I really want the new hanzo skin
 
that uprising genji sure is pretty dope; and the Scion skin for Hanzo too :B
 
lol wtf is a "gentlelady"
 
> the tiiiiime
> the tiiiiime has expiiiiired
 
3:29 PM
@Ikari it's so fun. We beat the uprising all heros on hard, going to try expert tonight
We're also going to attempt legendary retribution.
My genji skills are sharp now, his deflect is insane on hard+
 
@SterlingArcher banned for threats of violence
 
Uprising on expert is a real pita when the bastions come
 
hahah he got a taller chair
 
@rlemon looks like he's hover-sitting
 
That looks weirdly photoshopped
 
3:30 PM
his chair yesterday had arms
 
4 messages moved to Trash can
stop trying to start drama
 
@Ikari yeah man, especially the ult'ing bastions
 
@ssube oh fucking savage
 
user1596138
Please post all ur oneboxes here instead
 
Good question
 
3:31 PM
@BenjaminGruenbaum How do I serialize a plain ol' object?
 
the entire room is basically engaging in a conversation. telling us to move it is kinda starting drama.
 
Also, I officially have braces
 
@SterlingArcher nerd
 
Do I seriously need to describe the schema all the way down?
 
@MadaraUchiha JSON.stringify and then assign to an @observable property from the other side
 
3:31 PM
fence face!
 
And the sore teeth feeling is real, and it sucks.
 
3 messages moved to Trash can
 
@SterlingArcher lol fuckin nerd
 
I'm with j on this one
 
user1596138
@ssube seriously, that's just abuse of RO privledges
 
user1596138
3:32 PM
I'm trying to keep the room on track.
 
take that to github
if you want to claim abuse
 
@BenjaminGruenbaum I have a large object graph
 
user1596138
Nah, I'm not starting drama
 
@KendallFrey trying to set random rules was part of why TheOneWho was banned
 
I can't selectively assign things in a custom way
 
3:32 PM
Do we need a 3D printing spam room, and a factorio spam room, too?
 
exact same spammy "I don't like this, nobody can do it" stuff
 
user1596138
I didn't set any rules. Unbunch your panties babe
 
@MadaraUchiha Of plain ol' objects?
 
user1596138
It's been 2 days now
 
Web development is so stupid at times. When pre-rendering canvas, it's faster on Linux, Windows and Android... but on OS X and iOS, it's actually a lot slower than doing it live.
 
3:32 PM
@Cereal politics tend to make people upset
 
@BenjaminGruenbaum No, of classed objects that hold, among other properties, a few POJOs
 
@JasonStackhouse in Chrome?
 
@KendallFrey then speak up. if multiple people say don't onebox the hearing, I'll consider it. if the majority of the room is having a discussion being told to move it from one member is a bit different.
 
@SterlingArcher is this hearing politics?
 
3:33 PM
Aye, Chrome and Firefox alike
 
peekaboo
 
It's more like entertainment
 
hello guys I am trying to learn about state management in large JavaScript application can you say me having individual state for individual components is better or having single state for whole application is better? which one helps us to maintain our application more effectively ??? please reply
 
@MadaraUchiha then it isn't magic, you need to either replay the actions that set the state (by providing the responses upfront and exposing a .hydrate method on stores) or to use mobx/serializr or a similar project
 
@Cereal in a manner of speaking yes, but I really don't care and I've been ignoring most of it
 
3:33 PM
I'm not bothered by the oneboxes as long as it's not just marky over and over
 
I don't really care if we keep oneboxing them or not, some of them are funny
 
new cameraman behind the zucc
 
@AlishaSharma have local state local and app-concern state at the app level - where the guiding principle is "if server-side rendering cares about it - it's not local state"
 
But J does have a right to say he doesn't like them spamming the room
 
@KendallFrey right, and we can disagree about whether it is worth moving the conversation.
 
3:34 PM
posted on April 11, 2018 by CommitStrip

 
I mean, strictly speaking, it'll be over tomorrow when the testimonies are over. This is basically a holiday at Burning Man, except a Man is actually being Burned.
 
@BenjaminGruenbaum I am using serializr
 
@KendallFrey but that's not what he did, he just made a "spam" room and then started "ignored"-ing people
 
This guy sounds like kevin spacy in house of cards
 
But it's idiotic to have to annotate the entire object graph
 
3:35 PM
the "ignored"-ing was what I meant by not starting drama, ftr
 
@ssube seems the right approach to me
 
Or define the structure of every single object I use twice (once in actually, and once for the schema)
 
you can ignore people, but don't be shitty and brag about it, that's just baiting them
 
@MadaraUchiha tbh it should be simpler, there has to be something that just saves the class name with its properties and then restores it by calling the constructor.
 
@ssube well yeah, pointing it out isn't strictly necessary
 
3:35 PM
@BenjaminGruenbaum What constructor?
 
@KendallFrey hence, binned for starting drama, not a kick or anything
 
It's not exposed to whatever deserialize magic function you have
 
Has the chat system on Stackoverflow stayed the same ever since 2012?
 
It's not globally available on window or anything like that
 
@MadaraUchiha if you have a User object there is no reason a library couldn't store that information with the properties and then restore it.
 
3:36 PM
@JasonStackhouse most of it
 
Even if not globally available on window, you'd need to provide it with the constructors but it'd still be a lot less work
 
@BenjaminGruenbaum so what will be your recommendation for me
 
@BenjaminGruenbaum I have 7 User classes in my project, which do you take?
 
@AlishaSharma you using React?
 
That's really nice! Keeping it simple
 
3:36 PM
What a bad question
 
Yep I use react
 
Whoa, when did this shift to racial matters? I zoned out for literally a couple of minutes
 
ugh, now they've gone full political
 
@MadaraUchiha you can give the class names unique identifiers that part is easy
 
@BenjaminGruenbaum
 
3:37 PM
@AlishaSharma avoid redux, try mobx probably
 
So far my experience with real world mobx is that it's very good on your own components on the client side
But if you use third party libraries you're screwed
And if you have a meaningful SSR you're screwed
 
which was one of the reasons immutablejs is shit
 
@MadaraUchiha you just have to acknowledge that you have to "play their game" when working with some third party libs - though you've had much worse experience than me
 
user1596138
@ssube I can ignore -and announce it- whoever I want. Why so offended? Mind your own
 
@MadaraUchiha I don't agree, you expect to be able to write code without considering SSR and then building SSR on top of that - it doesn't work that way.
 
3:38 PM
@Jhawins Sure you can announce it, but it's not useful to do so.
 
@MadaraUchiha the only way to make that work would be to serialize state, subscriptions, and send it as well
 
That was a painfully awkward shift in tone.
 
If you had considered serialization when you were writing the code then it wouldn't be such a big deal - doing it all at once now is painful
 
@BenjaminGruenbaum I'd expect mobx to provide a backdoor like "on this point, deeply observe anything I rely on, and call render if anything changes"
 
@hilli_micha I'm still reeling
 
3:38 PM
@BenjaminGruenbaum I use redux .. is mobx better and effective
 
user1596138
@KendallFrey Sure, but it's not an attack or anything. it isn't useful to bin my messages and try to start a drama fest either, is it?
 
@AlishaSharma yes
 
I can't even say anything, because it's so bad
 
@Jhawins nope
 
I had to start using my old iPhone after my android broke during Passover. iOS has really gone to shit in the past few years.
 
3:39 PM
@MadaraUchiha isn't that what it does with fromJS?
 
user1596138
;P
 
@MadaraUchiha mobx has a config for deep structural comparisons though I don't see how that's related.
 
@Mosho There is no fromJS
 
@JasonStackhouse it has, this iPhone is my last.
 
Benji said it was a bad idea in 2016 and they never implemented it.
 
3:39 PM
was there never fromJS
 
@MadaraUchiha you can just assign to an @observable property
@observable foo = someDeepObject
But that's not the problem you're solving, you need class information not just state
You'd need a Stock to deserialize back to a Stock and not an object with the same properties
 
@BenjaminGruenbaum how can you give me your opinion??
 
yeah, I never use classes in state for those reasons
 
@AlishaSharma what do you mean?
 
@BenjaminGruenbaum I can't sanely throw this responsibility on every single store
 
3:40 PM
@Mosho huh? Classes make a ton of sense for state, they let you enforce constraints about how that state can be accessed.
 
Every single store will now need to be aware that it's hydratable and know how to hydrate itself
 
How redux is better then mobx your opinion??
 
@BenjaminGruenbaum I didn't say it doesn't make sense, just that I learned not to do it for some good reasons (after trying to)
 
@MadaraUchiha sure you can? All those stores already have all the actions they need to update the state from API calls - that's practically the same thing.
 
And me and my team members will have to remember having to do it for every single new store.
@BenjaminGruenbaum That's not sane, I'd rather forfeit hydration.
 
user1596138
3:42 PM
@AlishaSharma I also want to know
 
@MadaraUchiha how do you think SSR works anyway? You need to call the API to have the state ready for SSR anyway - you might as well just call the same methods you called to get the state to where you need to on the client.
 
Can I get the value out of a context outside of a render?
 
what question or answer someone else??
 
It's unrelated to mobx, you need to initialize the state in the backend in order to render meaningful output - just apply the same state transitions in the client.
 
I want to use it in componentDidMount
 
3:43 PM
@Jhawins what question or answer someone else??
 
mobx is better because i haven't tried redux
 
@BenjaminGruenbaum That's not how it works
 
@AlishaSharma redux is bad for state management IMO, I've given a talk about it like 3 years ago
 
@MadaraUchiha you can write something in a generic store class and inherit from it
 
The state I get from the serialized SSR is not of the same shape as the data I get from the API calls
 
3:43 PM
video lagging for anyone else?
 
@Mosho And then you have to remember to inherit/implement, same problem, different shape
 
@MadaraUchiha what is SSR?
 
@MadaraUchiha right, but you have to write code to transition from the latter to the former for SSR (regardless of hydration) anyway
 
@Wietlol Server Side Rendering
 
@MadaraUchiha it's how it should be done
 
3:44 PM
@BenjaminGruenbaum Sure, what's your point?
 
You already have to write the code for it for the SSR to work - hydration just runs the same code you use for SSR and you split SSR into fetching the data and applying it
 
people would copy paste an existing store to create a new one anyway
 
Hydration doesn't require more code
 
@rlemon I got a stutter
 
The extra thing every store has to be aware of is SSR, not hydration
 
3:44 PM
@BenjaminGruenbaum I'd have to split it to 3 methods each
 
@MadaraUchiha So? It's still the same amount of code
 
fetching the data, adapting it to mobx shape, and applying it
 
@BenjaminGruenbaum thanks for respond
 
This woman's question makes no sense
 
@BenjaminGruenbaum That's not a convention I'm lightly willing to enforce on every new store from now on.
 
3:45 PM
I realize it's more work and that sucks but that's SSR, regardless of how you manage state - hydration isn't the hard part IMO
 
@Cereal the cal rep?
 
And that's definitely not a convention you (mobx) as a library should force upon me
 
@GNi33 Idk who it is
She seems to want to be able to revoke data after someone has it
 
@MadaraUchiha as a library mobx doesn't care about SSR, it's an orthogonal concern.
 
Which is just.. not possible
 
3:46 PM
< Butterfield asks for a committment to add an African American person to the top leadership tier? Zuck demurs.
 
what demographic mark
 
It's technically infeasible
 
@MadaraUchiha that would be for something that builds upon mobx to do I think
 
what demographic would you sell muffins to
 
@Cereal and he keeps tip toeing around saying exactly that
so that's a very fair question in my opinion
 
3:46 PM
@Mosho That's supposed to be serializr
 
I mean, I see what this woman is asking, but this is true of anything on the internet.. you put it out there, it's a good operating assumption that when you put something on the internet, it is there FOREVER..
 
@KendallFrey Everyone likes muffins
 
@KendallFrey grandmas
 
Does this woman also want Mark to stand on the shore and tell the tide to go back?
 
But then you still have the problem of every object in the system needing to know how to serialize and deserialize itself.
 
3:46 PM
@MadaraUchiha that's actually MST not serializr (for the bigger problem), but I think that you shouldn't have to pay for SSR if you're not using it - and if you're using it then hydration isn't a big deal
 
@MadaraUchiha which is how it works in the backend
for a reason
 
Which should not be the stores (or DTOs) responsibility.
 
ah that's lunchtime
 
it's a decent solution
 
@MadaraUchiha How bad is it to use SomeContext._currentValue
 
3:48 PM
@Cereal What do you mean?
 
serializing from application models to JSON and deserializing JSON to application models is the standard approach
 
well chat is lagging now.. so I'm going to assume it's because I have onshape and s3d open.
 
There's a property on a react context called _currentValue that holds the current value of the context
 
function loadUsersOnline(){
    $(document).ready(function() {
        $(".usersonline").load("functions.php?onlineusers=result");
    });
}
$(function(){
loadUsersOnline();
setInterval(loadUsersOnline, 500);
});
 
I basically want to know if that's garuanteed to always hold the current value of the context, or if it has any side effects
 
3:48 PM
@Cereal _ prefix means you probably shouldn't
 
That's what I'm feeling
 
you know the current value inside the consumer
why do you need to get it from the Context object
 
@Mosho I need to use it in componentDidMount
I'm just going to pass it as a prop to this one component
 
then do it inside the consumer
 
what
 
3:50 PM
wat
 
@Cereal code?
 
Where this.props.t is supposed to be provided by a context
 
and why do you need to check _currentValue?
if this component gets it in props
 
I love the camera work going on right now. Just zoom in on random people's faces
 
2 mins ago, by Cereal
I'm just going to pass it as a prop to this one component
 
3:53 PM
so you pass it, why do you need _currentValue?
 
Because passing it was my solution to not using _currentValue
 
that's what you should do
what's wrong with that
 
Nothing
 
@ndugger please keep your selfies to facebook kthx
 
3:59 PM
@KendallFrey he could be your grandfather
 

« first day (2734 days earlier)      last day (2221 days later) »