<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Guillaume CHAU on Medium]]></title>
        <description><![CDATA[Stories by Guillaume CHAU on Medium]]></description>
        <link>https://medium.com/@Akryum?source=rss-9bafe4e8ffdd------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*sx1T9X0W99i3jTJitAidcQ.jpeg</url>
            <title>Stories by Guillaume CHAU on Medium</title>
            <link>https://medium.com/@Akryum?source=rss-9bafe4e8ffdd------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 17 Nov 2026 21:03:09 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Akryum/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What’s new in Vue Devtools 4.0]]></title>
            <link>https://medium.com/the-vue-point/whats-new-in-vue-devtools-4-0-9361e75e05d0?source=rss-9bafe4e8ffdd------2</link>
            <guid isPermaLink="false">https://medium.com/p/9361e75e05d0</guid>
            <category><![CDATA[devtools]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[front-end-development]]></category>
            <category><![CDATA[vue]]></category>
            <dc:creator><![CDATA[Guillaume CHAU]]></dc:creator>
            <pubDate>Mon, 15 Jan 2018 15:14:03 GMT</pubDate>
            <atom:updated>2018-01-15T15:14:03.429Z</atom:updated>
            <content:encoded><![CDATA[<p>A big update was released to the Vue devtools just a few days ago. Let’s dive into the new features and improvements! 🎄</p><h3>Editable component data</h3><p>You can now modify the data of your component directly in the Component inspector pane.</p><ol><li>Select a component</li><li>Under the data section in the inspector, mouse over a field</li><li>Click on the pencil icon</li><li>Submit your changes by clicking on the done icon or by hitting Enter. You can hit Escape to cancel the edition</li></ol><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FxeBRtXLrQYA%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DxeBRtXLrQYA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FxeBRtXLrQYA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/f7c56357d7d8b9c1bf19a99a25d23e4f/href">https://medium.com/media/f7c56357d7d8b9c1bf19a99a25d23e4f/href</a></iframe><p>The content of the field is the serialized JSON value. For example, if you want to enter a string, type &quot;hello&quot; with the double-quotes. An array should look like [1, 2, &quot;bar&quot;] and an object like { &quot;a&quot;: 1, &quot;b&quot;: &quot;foo&quot; } .</p><p>Currently, the values of following types can be edited:</p><ul><li>null and undefined</li><li>String</li><li>Literal: Boolean , Number , Infinity , -Infinity and NaN</li><li>Arrays</li><li>Plain objects</li></ul><p>For the Arrays and Plain objects, you can add and remove items using the dedicated icons. You can also rename object keys.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2Ffx1zjvHryJ0%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3Dfx1zjvHryJ0&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2Ffx1zjvHryJ0%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/d543bdf5d6f0d6e86bf6b08ac70bec24/href">https://medium.com/media/d543bdf5d6f0d6e86bf6b08ac70bec24/href</a></iframe><p>A warning will be displayed if the input isn’t valid JSON. However, some values like undefined or NaN can be typed directly for more convenience.</p><p>More types will be supported in future releases!</p><h4>Quick Edit</h4><p>Some types of value can be edited in a single click with the ‘Quick Edit’ feature.</p><p>Booleans can be toggled directly with the checkbox icon:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FllNJapRZaHo%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DllNJapRZaHo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FllNJapRZaHo%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/e47cf69ca7e74a30dfb775daeefe7876/href">https://medium.com/media/e47cf69ca7e74a30dfb775daeefe7876/href</a></iframe><p>Numbers can be incremented or decremented with the plus or minus icons:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FZCToaOpId0w%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DZCToaOpId0w&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FZCToaOpId0w%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/c08b3acfcb8ff71249659f5628d50bb2/href">https://medium.com/media/c08b3acfcb8ff71249659f5628d50bb2/href</a></iframe><p>You can use some keyboard modifiers to increment or decrement the value faster.</p><h3>Open component in editor</h3><p>If you are using vue-loader or Nuxt in your project, you can now open the selected component in your favorite code editor (provided it is a Single-File Component).</p><ol><li>Follow this <a href="https://github.com/vuejs/vue-devtools/blob/master/docs/open-in-editor.md">setup guide</a> (if you are using Nuxt, you don’t need to do anything)</li><li>In the Component inspector, mouse over the component name — you should see a tooltip with the file path</li><li>Click on the component name and it will open in your editor</li></ol><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FXBKStgyhY18%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DXBKStgyhY18&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FXBKStgyhY18%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/44eb5acb04660e94f1a6656050a0d6f2/href">https://medium.com/media/44eb5acb04660e94f1a6656050a0d6f2/href</a></iframe><h3>Show the original component names</h3><p>PR by <a href="https://github.com/manico">manico</a></p><p>By default, all the component names are formatted into CamelCase. You can disable this by toggling the ‘Format component names’ button in the Components tab. This settings will be remembered and it will also be applied to the Events tab.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FPoZmEcCdSbU%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DPoZmEcCdSbU&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FPoZmEcCdSbU%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/8755f84d7ee1d42b4b84fd4e440a81e5/href">https://medium.com/media/8755f84d7ee1d42b4b84fd4e440a81e5/href</a></iframe><h3>Inspecting components just got easier</h3><p>While you have the Vue devtools open, you can right-click on a component to inspect it:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/460/1*8fhP5VTb6uev-8HfI4stYw.png" /><figcaption>Right-click a component in the page</figcaption></figure><p>You can also programmatically inspect a component using the $inspect special method:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/76b75c31cdc54b37801e2732fb484244/href">https://medium.com/media/76b75c31cdc54b37801e2732fb484244/href</a></iframe><p>Either way, the components tree will be expanded to the newly selected component automatically.</p><h3>Filter events by component</h3><p>PR by <a href="https://github.com/eigan">eigan</a></p><p>You can now filter the Events history by the components that emitted the events. Type &lt; followed by the name of the component or part of it:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FwytquoUPSFo%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DwytquoUPSFo&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FwytquoUPSFo%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/74b66c6355518a10b646e4217c0a82bc/href">https://medium.com/media/74b66c6355518a10b646e4217c0a82bc/href</a></iframe><h3>Vuex inspector filter</h3><p>PR by <a href="https://github.com/bartlomieju">bartlomieju</a></p><p>The Vuex inspector has now a filter input:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FT095k5hI_pA%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DT095k5hI_pA&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FT095k5hI_pA%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/df996364dfec5f18d56092abfb3c5927/href">https://medium.com/media/df996364dfec5f18d56092abfb3c5927/href</a></iframe><h3>Vertical layout</h3><p>PR by <a href="https://github.com/crswll">crswll</a></p><p>When the devtools are not wide enough, they will now switch to an handy vertical layout. You can move the divider between the top and bottom panes just like in the default horizontal mode.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2F33tJ_md8bX8%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3D33tJ_md8bX8&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2F33tJ_md8bX8%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="640" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/22f9c6f5dc938a5a94b2c3de336f8b87/href">https://medium.com/media/22f9c6f5dc938a5a94b2c3de336f8b87/href</a></iframe><h3>Improved scroll-to-component</h3><p>By default, selecting a component will no longer scroll the view to it. Instead, you need to click the new ‘Scroll into view’ icon:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/627/1*TJEfzB4ifK8t-5kpbZieRw.png" /><figcaption>Click on the eye icon to scroll to the component</figcaption></figure><p>It will now center the component on the screen.</p><h3>Collapsible inspectors</h3><p>The sections of the different inspectors can now be collapsed. You can use keyboard modifier to collapse them all or expand them all in one click. This is very useful if you are, let’s say, only interested in the mutations details of the Vuex tab.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FbblGueKPsjE%3Ffeature%3Doembed&amp;url=http%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DbblGueKPsjE&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FbblGueKPsjE%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/759da9d531e2836de8b59f9c4a42a73a/href">https://medium.com/media/759da9d531e2836de8b59f9c4a42a73a/href</a></iframe><h3>And more!</h3><ul><li>The ‘Inspect DOM’ button is now hidden if the environment doesn’t have this feature — by <a href="https://github.com/michalsnik">michalsnik</a></li><li>-Infinity is now supported — by <a href="https://github.com/David-Desmaisons">David-Desmaisons</a></li><li>The event hook had an issue fixed by <a href="https://github.com/maxushuang">maxushuang</a></li><li>Some code was cleaned by <a href="https://github.com/anteriovieira">anteriovieira</a></li><li>Date, RegExp, Component support is improved (and time-traveling should work with those types now)</li><li>The devtools are now using <a href="https://github.com/Akryum/v-tooltip">v-tooltip</a> for rich tooltips and popovers (also fixing some issues)</li></ul><p>If you already have the extension, it should update automatically to 4.0.1 . You can also install it <a href="https://chrome.google.com/webstore/detail/vuejs-devtools/nhdogjmejiglipccpnnnanhbledajbpd">on Chrome</a> and <a href="https://addons.mozilla.org/fr/firefox/addon/vue-js-devtools/">on Firefox</a>.</p><p><strong>Thank you for all the contributors that helped make this big update possible!</strong></p><p>If you find an issue or have a new feature to suggest, please <a href="https://new-issue.vuejs.org/?repo=vuejs/vue-devtools">share it</a>!</p><h3>What’s next?</h3><p>A new release should arrive pretty soon with even more features like selecting a component in the page (color picker-style) and some UI improvements.</p><p>We also have a few things in the works, like a standalone Vue devtools app that will allow debugging any environment (not just Chrome and Firefox), a brand new Routing tab and an improved support for Set and Map types.</p><p>Stay tuned!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9361e75e05d0" width="1" height="1" alt=""><hr><p><a href="https://medium.com/the-vue-point/whats-new-in-vue-devtools-4-0-9361e75e05d0">What’s new in Vue Devtools 4.0</a> was originally published in <a href="https://medium.com/the-vue-point">The Vue Point</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Use Apollo in your VueJS app]]></title>
            <link>https://medium.com/apollo-stack/use-apollo-in-your-vuejs-app-89812429d8b2?source=rss-9bafe4e8ffdd------2</link>
            <guid isPermaLink="false">https://medium.com/p/89812429d8b2</guid>
            <category><![CDATA[javascript]]></category>
            <category><![CDATA[graphql]]></category>
            <category><![CDATA[apollostack]]></category>
            <category><![CDATA[vuejs]]></category>
            <dc:creator><![CDATA[Guillaume CHAU]]></dc:creator>
            <pubDate>Tue, 27 Sep 2016 18:34:52 GMT</pubDate>
            <atom:updated>2016-11-01T12:33:36.500Z</atom:updated>
            <content:encoded><![CDATA[<h4>Declaratively attach GraphQL queries to your components</h4><p><em>Editor’s note: This post is from Guillaume Chau, an Apollo contributor who built an integration package between VueJS and Apollo. Check it out and contribute to it </em><a href="https://github.com/Akryum/vue-apollo"><em>here</em></a><em>!</em></p><p>As you may know, the Apollo team has built a great GraphQL client and tooling that makes it easy to use data from your server in any JavaScript app. Why not use it with another amazing technology like <a href="https://vuejs.org/">VueJS</a>?</p><p>Now you can do just that with <a href="https://github.com/Akryum/vue-apollo">vue-apollo</a>, an npm package I wrote that allows you to write GraphQL queries in your VueJS components while using Apollo under the hood.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*H9AANoofLqjS10Xd5TwRYw.png" /></figure><h3>Use it in your VueJS app</h3><p>First, install these packages in your project folder:</p><blockquote>npm install — save apollo-client vue-apollo</blockquote><p>Then, you need to create an Apollo client and install the vue-apollo plugin into VueJS:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0490deae375e53c652af7c8dfc3db0ed/href">https://medium.com/media/0490deae375e53c652af7c8dfc3db0ed/href</a></iframe><h4>Fetch data with GraphQL queries</h4><p>You can now use Apollo directly in your components to query your GraphQL server. Inside a component, the Apollo client can be accessed with ‘this.$apollo’:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/e5bb33d445742eafad0ece5dce8817ac/href">https://medium.com/media/e5bb33d445742eafad0ece5dce8817ac/href</a></iframe><p>But the preferred way to make queries is to declare them with the ‘apollo’ option in the component definition:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/01e7162f38b8ea2143092cf9caae66bb/href">https://medium.com/media/01e7162f38b8ea2143092cf9caae66bb/href</a></iframe><p>Thanks to the VueJS reactivity system, the ‘posts’ local data will be automatically updated with the GraphQL query result and your DOM updated.</p><p>You can initialize the corresponding data attribute in the ‘data’ hook with a default value:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7afd517bc8aec729ac8e34cb8bb6caf2/href">https://medium.com/media/7afd517bc8aec729ac8e34cb8bb6caf2/href</a></iframe><p>If you want to update your data automatically when another user changes it, you can poll the server with the ‘pollInterval’ option, specifying an interval duration in milliseconds:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/87aeaca5be43fdcefc6087ac0f16515b/href">https://medium.com/media/87aeaca5be43fdcefc6087ac0f16515b/href</a></iframe><h4>Update your data with GraphQL mutations</h4><p>In the component methods and hooks, you can use the ‘$apollo’ object to call mutations:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9d46b5bd470f24bfcba5a955ac444d37/href">https://medium.com/media/9d46b5bd470f24bfcba5a955ac444d37/href</a></iframe><p>In this component, we call the ‘upvotePost’ mutation on the GraphQL server, that returns the updated post data. That way, the Apollo cache is up-to-date, and again, thanks to VueJS reactivity system, your view should reflect the new votes count.</p><p>These are just the basics of using Apollo in your VueJS components. The more advanced features in vue-apollo are documented <a href="https://github.com/Akryum/vue-apollo#configuration">here</a>, and you can take a look at the <a href="https://github.com/Akryum/frontpage-vue-app">hello world example</a> to have a better idea of how things work.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=89812429d8b2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/apollo-stack/use-apollo-in-your-vuejs-app-89812429d8b2">Use Apollo in your VueJS app</a> was originally published in <a href="https://medium.com/apollo-stack">Apollo GraphQL</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>