<?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 Shawn Shaw on Medium]]></title>
        <description><![CDATA[Stories by Shawn Shaw on Medium]]></description>
        <link>https://medium.com/@shawn_shaw?source=rss-33a49985c297------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*d-Rwi3PwrK3hIZtH.</url>
            <title>Stories by Shawn Shaw on Medium</title>
            <link>https://medium.com/@shawn_shaw?source=rss-33a49985c297------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 07:00:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@shawn_shaw/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[Rebase or Merge for git?]]></title>
            <link>https://medium.com/@shawn_shaw/rebase-or-merge-for-git-08bf12b29bd6?source=rss-33a49985c297------2</link>
            <guid isPermaLink="false">https://medium.com/p/08bf12b29bd6</guid>
            <category><![CDATA[git]]></category>
            <dc:creator><![CDATA[Shawn Shaw]]></dc:creator>
            <pubDate>Fri, 01 Mar 2024 19:43:49 GMT</pubDate>
            <atom:updated>2024-03-01T19:43:49.658Z</atom:updated>
            <content:encoded><![CDATA[<p>Here is what I follow:</p><p>In general: “<strong>rebase your feature branch, then merge to main branch”</strong>. However there are two exceptions:</p><ol><li>If your feature branch has multiple developers working on it, you should opt for merge instead of rebase, as rebase rewrites commit history and is unsafe for group collaboration feature branches. Most of the time though, you will be working on some features or fixes on a feature branch alone, in that case rebasing your feature branch before merging to main branch works the best, because you are the only developer for the feature branch thus rebase fits.</li><li>If you submit PR(pull request) to upstream projects, you will always be asked for a rebase instead of merge, as the main branch gatekeeper will want to keep his branch history linear.</li></ol><p>Three extra tips:</p><ol><li>Always do git pull before git push</li><li>git pull is by default using merge, because merge is just “safer”.</li><li>use git push --force-with-lease instead of git push --force after rebase or amend.</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=08bf12b29bd6" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Quasar as the UI library for Vue3]]></title>
            <link>https://medium.com/@shawn_shaw/quasar-as-the-ui-library-for-vue3-da61d24f86ea?source=rss-33a49985c297------2</link>
            <guid isPermaLink="false">https://medium.com/p/da61d24f86ea</guid>
            <category><![CDATA[quasarframework]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[vue-3]]></category>
            <category><![CDATA[vue]]></category>
            <category><![CDATA[quasar]]></category>
            <dc:creator><![CDATA[Shawn Shaw]]></dc:creator>
            <pubDate>Mon, 05 Feb 2024 02:46:28 GMT</pubDate>
            <atom:updated>2024-02-05T02:50:06.055Z</atom:updated>
            <content:encoded><![CDATA[<p>I used PrimeVue and Vuetify 3 in the past, both are decent UI libraries. However after more research and comparison to other Vue 3 UI libaries, I now decide to use Quasar for new projects.</p><ul><li>Quasar 2 fully supports Vue3</li><li>Quasar have nearly twice the components than Vuetify 3.</li><li>Quasar can use a single code base to produce Desktop, Mobile apps, PWA, even browser extensions. None of other UI libraries other than Ionic can do the same. Ionic is also great but it does not have Desktop application support, it also lacks of Vue focus to me.</li><li>Quasar focuses on Vue which is what I decided to stay with after React shifts its focus from SPA to SSR frameworks.</li><li>Quasar is under active development over the years and has a great reputation in the community.</li></ul><p>To start to use it is as simple as two steps:</p><pre>yarn global add @quasar/cli<br>yarn create quasar</pre><p>Detailed info at : <a href="https://quasar.dev/">https://quasar.dev/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=da61d24f86ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Simple vue3 and vim configuration in 2024]]></title>
            <link>https://medium.com/@shawn_shaw/simple-vue3-and-vim-configuration-in-2024-02a67e7a8a63?source=rss-33a49985c297------2</link>
            <guid isPermaLink="false">https://medium.com/p/02a67e7a8a63</guid>
            <category><![CDATA[vim]]></category>
            <category><![CDATA[vuejs-development]]></category>
            <category><![CDATA[vuejs]]></category>
            <category><![CDATA[vue]]></category>
            <category><![CDATA[vuejs-3]]></category>
            <dc:creator><![CDATA[Shawn Shaw]]></dc:creator>
            <pubDate>Sun, 04 Feb 2024 05:21:09 GMT</pubDate>
            <atom:updated>2025-04-11T13:00:56.836Z</atom:updated>
            <content:encoded><![CDATA[<p>I have been using React for a while, but the direction it is going concerns me. Basically it’s shifting from a SPA library to a meta-framework with focus on SSR. My interests are mainly CSR (client side render) SPA, so I decided to return to Vue3, which is simpler and does not mix SSR with CSR for SPA.</p><p>Turns out it’s super easy these days to get vim configured with syntax highlights, auto format at saving time, linting etc. Below are the steps I used.</p><p>In .vimrc add one volar coc.nvim plugins for vue3 (if you have not used coc.nvim for vim, please install it. It’s the de facto best auto completion and format plugin for multiple languages)</p><pre>let g:coc_global_extensions=[&#39;@yaegassy/coc-volar&#39;]</pre><p>To format on save, run :CocConfig in vim and add below:</p><pre>&quot;[vue]&quot;: {<br>    &quot;diagnostic.enable&quot;: true,<br>    &quot;coc.preferences.formatOnSave&quot;: true<br>  },</pre><p>Now install Vue3:</p><pre>pnpm create vite@latest</pre><p>That’s it! No more need to configure Eslint, Prettier or Typescript “TakeOver” mode for coc-volar anymore. You’re ready to go.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=02a67e7a8a63" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>