JS.weekly() => #61: GraphQL in a Micro Services Architecture

Tradeoffs of CSS-in-JS, PubSub for communicating between React Components and thoughts on React Native.

JavaScripting.com
JS.weekly()
2 min readJan 22, 2020

--

GraphQL in a Micro Services Architecture

“Having come from a REST API centric view of the world, GraphQL is truly a game changer with the ability to perform fine grained queries that are well suited for multiple front end applications. By leveraging GraphQL stitching, we have built out a robust API strategy that is both consumable and scalable with the ability to add additional micro services in the future.”

The tradeoffs of CSS-in-JS

“ CSS-in-JS is an attempt to make complex use cases easier to handle, so don’t push it where it is not needed!”

PubSub for communicating between React Components

“ Simply stated, the Observer Pattern consists of a single Object called the ‘Subject’, which maintains a list of Observers. Whenever information is published to the Subject it passes that information to the Observers which then handle the data however they want.”

We are adding new libraries to JavaScripting.com every week. Here is one worth checking out:

Awesome Notifications

Lightweight, fully customizable JavaScript notifications library with enhanced async support.

One more thing. Check the latest interview on Salsita Software blog with our full-stack developer Martin Gajdičiar.

Dev Thoughts: Martin Gajdičiar on React Native

“ Considering the rapid development and number of improvements during the past year, and also adoption by some bigger companies like Tesla and Wix, I’m excited to see where React Native will be next year. It is certainly here to stay and I expect it will only strengthen its position on the market, since adoption by bigger players will put pressure on React Native teams to fix existing issues and deliver a better platform.”

JS.weekly() is a weekly digest of the best JavaScript articles, hand-picked by our experts in the JavaScripting community, sponsored by Salsita Software. Don’t forget to follow us on Twitter.

--

--

JavaScripting.com
JS.weekly()

The best JavaScript, web development and general programming articles of the day. Sponsored by Salsita Software (http://www.salsitasoft.com)