Does anyone know how GraphQL manages (or if it even can) to sort and filter across microservices? It seems impossible to me to do from any client. If you have a list view that is made up of data from microservice a, b, and c and you try to sort on a column from microservice b, how does microservice b know how to sort then data when there are additional constraints applied to data on other microservices such as a filter applied to microservice a. Does that make sense?
Basically I feel very frustrated when it comes to sorting and filtering across microservices, some people at work think that GraphQL will solve this and I have found absolutely nothing to support the claim that it would help us with this. Thoughts?
It's up to you. I intentionally kept moving parts to the minimum in my demo, but here's the real thing I was using behind the scenes: https://github.com/facebook/react/tree/master/packages/simpl.... So in that sense it's not global, you can create as many as you like and then isolate them (e.g. per subtree).
The `simple-cache-provider` is just a reference implementation though. It's somewhat naïve, e.g. it doesn't have invalidation strategy and just lets you replace the whole cache with a new one if you want to invalidate.
We'll publish more details on lower level API and how to write your own cache in the future.
It seems from https://github.com/facebook/react/blob/master/packages/simpl... that in the live version you'll be specifying which cache to use; this could be global, provided via React's old or new Context APIs, or passed down through props. And you could always write your own fetcher factory if you want to do something really custom; there's nothing special about the SimpleCacheProvider, and it doesn't use any React internals.
JS is a mess because React is using a concept similar to double buffering to prevent bad rendering? That's all this is, they are batching updates to the DOM before reconciliation to reduce redraws.
Maybe, but it would not have stuck if passed unilaterally. When we collectively decided to legalize gay marriage, it was very clear there was a majority in favor. This came about by pockets of the government trying it out first.
You're overlooking the fact that people and politicians need time to grow and hone their skills. Without states, without giving them some ability to be corrupt, there is no testing ground. Politicians at the national level would not be experienced negotiators because the first step in being a politician would be joining the federal government. And I don't think forcing gay marriage on the US would've been a good idea any sooner even if we'd had a sufficiently progressive president and congress. I have deep sympathy for all the people who had to wait so long for society to officially accept them, but I think even they can respect that we might not be as strong of a unified society if gay marriage had become legal in, say, the 80s, rather than today. A unilateral decision by a president and majority congress could have set the issue back even further.
I've been noticing the same thing with their third party couriers. They get a lot of complaints from people too. I complain every time, I look through the forums and see people complaining. They are essentially these shipping companies that formed purely to undercut UPS and work with Amazon. I wouldn't even be surprised if Amazon had some type of stake in these alt couriers that are coming out of nowhere. They all have horrible reviews and nobody likes them, but apparently Amazon sees this as acceptable because they are the biggest and the best and losing a few customers probably doesn't hurt them.
I think 'wired' is the wrong word to use as it implies we're all kind of like that which isn't true. People who judge other people more harshly for their actions generally judge themselves pretty harshly too. The faults we see most in others are the faults we see in ourselves the most. If we were really wired this way than cognitive behavioral therapy wouldn't work, but I guess that depends on your definition of 'wired'. This is more a product of low self esteem than how we are 'wired'. I think the social conditions which are creating a society of low self esteem should be under a microscope instead.
> Unfortunately, most "web developers" have made the web worse over the past 10 years because simple, functional, minimal technology is not impressive, and hipsters love to show off
No it's because when I go into work someone says to make it a certain way and if I want to get paid I have to. If you want to blame anyone blame designers who see proof of concept stuff from developers and throw it in designs.
They won't extradite for student loans. For someone that far in debt, leaving is likely the best option for them. They can still be sued though and I'm not sure how that works exactly when you're in different countries.
Basically I feel very frustrated when it comes to sorting and filtering across microservices, some people at work think that GraphQL will solve this and I have found absolutely nothing to support the claim that it would help us with this. Thoughts?