<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Reactivity on Janik von Rotz</title>
    <link>https://janikvonrotz.ch/tags/reactivity/</link>
    <description>Recent content in Reactivity on Janik von Rotz</description>
    <generator>Hugo</generator>
    <language>en-us</language>
    <lastBuildDate>Mon, 28 Nov 2016 12:27:08 +0000</lastBuildDate>
    <atom:link href="https://janikvonrotz.ch/tags/reactivity/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Reactive subscriptions with Apollo and React</title>
      <link>https://janikvonrotz.ch/2016/11/28/reactive-subscriptions-with-apollo-and-react/</link>
      <pubDate>Mon, 28 Nov 2016 12:27:08 +0000</pubDate>
      <guid>https://janikvonrotz.ch/2016/11/28/reactive-subscriptions-with-apollo-and-react/</guid>
      <description>&lt;p&gt;Apollo server and client support real-time subscriptions with web sockets. Compared to Meteor&amp;rsquo;s out of the box real-time communication this is a lot more difficult to set up. With this short tutorial I&amp;rsquo;ll give you an example of how you can get a simple reactive subscriptions into your Apollo/React app. The idea is that you use real-time communication for a specific case only, f.g. sending notifications. We will accomplish this in five steps.&lt;/p&gt;&#xA;&lt;ol&gt;&#xA;&lt;li&gt;Install project requirements.&lt;/li&gt;&#xA;&lt;li&gt;Setup the server schema.&lt;/li&gt;&#xA;&lt;li&gt;Add server resolvers.&lt;/li&gt;&#xA;&lt;li&gt;Setup the client subscription.&lt;/li&gt;&#xA;&lt;li&gt;Modify a component to receive data from a subscription.&lt;/li&gt;&#xA;&lt;/ol&gt;</description>
    </item>
  </channel>
</rss>
