<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Martin Pagels</title>
    <description>The latest articles on DEV Community by Martin Pagels (@mpagels).</description>
    <link>https://dev.to/mpagels</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F494259%2F4e88eb5d-f90e-4ac6-b2c1-d38307d758e9.jpg</url>
      <title>DEV Community: Martin Pagels</title>
      <link>https://dev.to/mpagels</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mpagels"/>
    <language>en</language>
    <item>
      <title>How I've been doing tasks lately</title>
      <dc:creator>Martin Pagels</dc:creator>
      <pubDate>Wed, 14 Jun 2023 06:55:00 +0000</pubDate>
      <link>https://dev.to/mpagels/how-ive-been-doing-tasks-lately-2f44</link>
      <guid>https://dev.to/mpagels/how-ive-been-doing-tasks-lately-2f44</guid>
      <description>&lt;p&gt;Hello, fellow productivity enthusiasts! Today, I want to share my personal journey of refining task management, inspired by the invaluable wisdom of Brian Tracy's video titled "Tips to Structure Your Day." While I have always been diligent in getting things done, I recognized that there was an opportunity to optimize my approach. Tracy's video ignited a strong desire within me to elevate my productivity to new levels. Let me show you the strategies I've implemented that have transformed the way I manage my tasks&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Embracing the Power of Planning&lt;/strong&gt;&lt;br&gt;
One of the most transformative lessons I learned from Tracy's video was the importance of planning. While I had always recognized the value of planning for my coding projects or my teaching lessons, I realized that extending this practice to my entire day could yield tremendous benefits. Inspired by Tracy's insights, I now make it a priority to plan out my daily tasks and activities.Each day, around 30 minutes before I go to bed, I take a few moments to outline the important things I need to accomplish and the steps required to achieve them. This intentional approach to planning has proven to be a game-changer, helping me stay organized, focused, and in control of my day's agenda. By setting clear objectives and mapping out the necessary actions, I've experienced a significant boost in productivity and a greater sense of purpose throughout the day. &lt;/p&gt;

&lt;p&gt;Moreover, knowing that I can go to bed with a clear mind, confident that everything is planned for the next day, has brought me a sense of calm and peace. It allows me to truly relax and recharge, knowing that I have a well-structured plan in place to tackle the upcoming tasks and make the most out of my time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Harnessing the Power of Effective Listmaking&lt;/strong&gt;&lt;br&gt;
Tracy's emphasis on the power of making lists struck a chord with me. Prior to discovering Tracy's insights, I had underestimated the impact that a well-structured list could have on my productivity. Inspired by his advice, I now approach list-making with renewed enthusiasm and appreciation. A clear and comprehensive list acts as a compass, guiding me through the day and allowing me to prioritize tasks effectively. Not only does it provide a sense of direction, but it also brings a remarkable sense of accomplishment and satisfaction as I check off completed tasks. The act of crossing off items from my list gives me a tangible representation of progress, fueling my motivation to tackle the next task with vigor. With each completed task, I feel a surge of productivity and a greater sense of control over my day. List-making has truly become an indispensable tool, helping me unleash my full potential and maintain a consistent level of effectiveness throughout my endeavors.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Taking the Next Step: Embracing the Art of Prioritization in My Journey&lt;/strong&gt;&lt;br&gt;
One of the most invaluable strategies I gleaned from Tracy's video was the art of prioritization. While I have yet to fully implement these techniques in my own routine, I recognize that it is the next logical step in my journey towards optimal productivity. Tracy's insights have empowered me to discern between essential and non-essential tasks, allowing me to allocate my time and energy more effectively. By embracing the art of prioritization, I am confident that I will be able to take my productivity to even greater heights, achieving remarkable results one small step at a time.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;A Transformation in Productivity&lt;/strong&gt;&lt;br&gt;
Since implementing Tracy's advice into my daily routine, I have witnessed a profound transformation in my productivity. No longer am I simply getting things done; I am accomplishing tasks in a more strategic and optimized manner. With a well-defined list and a focus on prioritization, I am achieving more in less time and experiencing a heightened sense of fulfillment.&lt;/p&gt;

&lt;p&gt;In conclusion, Brian Tracy's "Tips to Structure Your Day" video has been instrumental in revolutionizing my approach to task management. It has helped me realize that even with prior accomplishments, there is always room for improvement and optimization. By embracing the power of planning, creating comprehensive lists, and mastering the art of prioritization, I have elevated my productivity to new heights. I invite you to watch Tracy's video and embark on your own journey of enhanced productivity.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://www.youtube.com/watch?v=4ysyybi4068"&gt;https://www.youtube.com/watch?v=4ysyybi4068&lt;/a&gt;&lt;/p&gt;

</description>
      <category>productivity</category>
    </item>
    <item>
      <title>New React Docs beta is live!</title>
      <dc:creator>Martin Pagels</dc:creator>
      <pubDate>Fri, 22 Oct 2021 08:18:16 +0000</pubDate>
      <link>https://dev.to/mpagels/new-react-docs-beta-is-live-1j95</link>
      <guid>https://dev.to/mpagels/new-react-docs-beta-is-live-1j95</guid>
      <description>&lt;p&gt;Covers function components, hooks, rendering, state updates, and other key concept. Still WIP. &lt;/p&gt;

&lt;p&gt;In the meantime this is a 1:1 copy of the official react docs but with hooks: &lt;a href="https://reactwithhooks.netlify.app/"&gt;https://reactwithhooks.netlify.app/&lt;/a&gt;&lt;/p&gt;

</description>
      <category>react</category>
    </item>
    <item>
      <title>For React beginners: How to learn useState by writing a todo app</title>
      <dc:creator>Martin Pagels</dc:creator>
      <pubDate>Thu, 22 Jul 2021 21:04:53 +0000</pubDate>
      <link>https://dev.to/mpagels/for-react-beginners-how-to-learn-usestate-by-writing-a-todo-app-42pn</link>
      <guid>https://dev.to/mpagels/for-react-beginners-how-to-learn-usestate-by-writing-a-todo-app-42pn</guid>
      <description>&lt;p&gt;The last article I read which mentioned the words &lt;code&gt;todo app&lt;/code&gt; and &lt;code&gt;React&lt;/code&gt; in one sentence began with: "Every time you write a todo app in React, a bunny dies" 😂. But hear me out:&lt;br&gt;
Yes, this is an article about how to write a todo app, but I chose a different approach for beginners.&lt;/p&gt;

&lt;p&gt;I'm currently working as an assistant coach at a &lt;code&gt;boot camp&lt;/code&gt; company which teaches awesome people who are willing to learn coding web frontend technologies. At some point we are, of course, teaching them React. Every weekend, the students get a homework in order to reflect on the topics they learned over the week and deepen their knowledge. And what better way to learn &lt;code&gt;useState&lt;/code&gt; and thinking in React while coding a todo app. &amp;lt;- I said the two words again in one sentence. 😂&lt;/p&gt;

&lt;p&gt;I know from my experience that, as a beginner, it is hard to learn these things. Because you not only have to learn "how to think as a programmer", but you also have to learn the syntax of a new language. And as a complete beginner, a React functional component can look very strange.&lt;br&gt;
Therefore, I created a repo where I documented the whole process of creating a simple todo app in React. Every important feature such as &lt;code&gt;add a todo&lt;/code&gt;, &lt;code&gt;delete a todo&lt;/code&gt;, &lt;code&gt;toggle a todo&lt;/code&gt;, &lt;code&gt;edit a todo&lt;/code&gt; lives in their own pull request. So you are able to see how the project would evolve. I also wrote a detailed pull request description where I describe, why I coded it this way (in every pull request). And I also committed very often. You can see in the branches how I added the code to the project.&lt;/p&gt;

&lt;p&gt;If you are just beginning to learn React and are also having trouble tackling a problem, I hope this repo helps you understand how you would solve such task. You are not sure if you should take a look? Allow me a little self-advertising (this is the message I got from my head coach after checking the repo)&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--MYRNtl67--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r7jcfazib47wqyj2xlzz.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--MYRNtl67--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/r7jcfazib47wqyj2xlzz.png" alt="self-ad"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Here is a list of things I recommend you should know in order to get the best out of your journey through this repo:&lt;/p&gt;

&lt;p&gt;You should:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;have a basic understanding of Git &amp;amp; GitHub&lt;/li&gt;
&lt;li&gt;have a basic understanding of HTML&lt;/li&gt;
&lt;li&gt;have a basic understanding of CSS&lt;/li&gt;
&lt;li&gt;have a basic understanding of JavaScript (variables, scope, functions, array methods)&lt;/li&gt;
&lt;li&gt;have read the React documentation (&lt;a href="https://reactwithhooks.netlify.app/docs/hello-world.html"&gt;hook version here&lt;/a&gt;) and understand (and maybe tried it out)&lt;/li&gt;
&lt;li&gt;have read &lt;a href="https://reactwithhooks.netlify.app/docs/thinking-in-react.html"&gt;Thinking in React&lt;/a&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;What you will learn:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;reading and understanding &lt;code&gt;readme&lt;/code&gt;s&lt;/li&gt;
&lt;li&gt;how to navigate through pull requests in a GitHub repo&lt;/li&gt;
&lt;li&gt;read code from another programmer&lt;/li&gt;
&lt;li&gt;how to start a project&lt;/li&gt;
&lt;li&gt;how to structure your coding process&lt;/li&gt;
&lt;li&gt;how to write good commit messages&lt;/li&gt;
&lt;li&gt;React functional components&lt;/li&gt;
&lt;li&gt;learn the usage of &lt;code&gt;useState&lt;/code&gt;
&lt;/li&gt;
&lt;li&gt;where and how to handle &lt;code&gt;events&lt;/code&gt; and &lt;code&gt;update&lt;/code&gt; state&lt;/li&gt;
&lt;li&gt;why a basic understanding of JavaScript is important for React (such as array methods &lt;code&gt;map()&lt;/code&gt;, &lt;code&gt;filter()&lt;/code&gt;, &lt;code&gt;find()&lt;/code&gt;)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I probably could have used other advanced React tools to solve the tasks, such as &lt;code&gt;custom hooks&lt;/code&gt; or &lt;code&gt;useReducer&lt;/code&gt; instead of &lt;code&gt;useState&lt;/code&gt;, but my goal was to show you how to solve this with just a bare minimum of React understanding.&lt;/p&gt;

&lt;p&gt;Here is the repo link: &lt;a href="https://github.com/mpagels/react-todo-app-walkthrough"&gt;https://github.com/mpagels/react-todo-app-walkthrough&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you have any questions on how and why I solved it this way, please start a review and ask your question there. (It's good for your GitHub statistics, and other people with the same question can join the discussion).&lt;/p&gt;

&lt;p&gt;I hope you have fun with it, and I wish you all the best on your journey to becoming a React developer.&lt;/p&gt;

&lt;p&gt;Cheers.&lt;/p&gt;

&lt;p&gt;Martin&lt;/p&gt;

</description>
      <category>react</category>
      <category>usestate</category>
      <category>tutorial</category>
      <category>todo</category>
    </item>
  </channel>
</rss>
