<?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: Vivek Sharma</title>
    <description>The latest articles on DEV Community by Vivek Sharma (@vivsh).</description>
    <link>https://dev.to/vivsh</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%2F327047%2Fe3e0a087-179b-48b9-b38d-a3a690cdc446.png</url>
      <title>DEV Community: Vivek Sharma</title>
      <link>https://dev.to/vivsh</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/vivsh"/>
    <language>en</language>
    <item>
      <title>Level Up Your React Game🚀</title>
      <dc:creator>Vivek Sharma</dc:creator>
      <pubDate>Sun, 30 Jul 2023 09:36:01 +0000</pubDate>
      <link>https://dev.to/vivsh/level-up-your-react-game-1c1o</link>
      <guid>https://dev.to/vivsh/level-up-your-react-game-1c1o</guid>
      <description>&lt;p&gt;Hey fellow Frontend Devs! Preparing for a React-focused interview? (Or just want to explore and grow). It's time to get cozy with those concepts and crush it in style.&lt;/p&gt;

&lt;p&gt;📢 Share this post: If you find this post helpful and think it could benefit other frontend developers, don't hesitate to share it. Spread the knowledge and help others level up their React knowledge! 🚀&lt;/p&gt;

&lt;h2&gt;
  
  
  Basics 🎓
&lt;/h2&gt;

&lt;p&gt;Had it been a few months back, I might have recommended different links for each topic. However, as of now, there is no better resource than the new React documentation itself. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://react.dev/learn"&gt;To begin&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://react.dev/reference/react"&gt;Dive deep&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  State management 📦
&lt;/h2&gt;

&lt;p&gt;When dealing with a large project the Context API or existing state management features could become a drag on the progress.&lt;br&gt;
You can try out these awesome libraries that can quickly become a part of project.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;&lt;strong&gt;RTK(Redux toolkit)&lt;/strong&gt;&lt;br&gt;
Opinionated, powerful, addresses all concerns related to vanilla redux.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://redux-toolkit.js.org/"&gt;Docs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://codesandbox.io/s/redux-essentials-counter-example-un8my"&gt;Try Live&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;&lt;strong&gt;Zustand&lt;/strong&gt; &lt;br&gt;
Small, effective and targets most common pitfalls.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://docs.pmnd.rs/zustand/getting-started/introduction"&gt;Docs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://codesandbox.io/s/dazzling-moon-itop4"&gt;Live&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;

&lt;p&gt;&lt;strong&gt;React Query&lt;/strong&gt;&lt;br&gt;
Most of the frontend work involves dealing with API calls and caching/storing response data when required.&lt;br&gt;
So this library can help you get all the features with minimum code to setup.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://tanstack.com/query/latest"&gt;Docs&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://codesandbox.io/p/sandbox/tanstack-query-example-react-basic-086cq0"&gt;Live&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Optimizing 🛠️
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Profiling + Hooks + lazy loading (Inside the box)&lt;/strong&gt;:
Optimizing using the already existing features of react 

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://blog.logrocket.com/optimizing-performance-react-app/"&gt;Blog&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Million.js (Outside the box)&lt;/strong&gt;:
This library works by replacing React's virtual DOM with its own and can increase the speed by 70%!

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://million.dev/"&gt;Docs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Testing 🧪
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;RTL + Jest (Unit testing)&lt;/strong&gt;
For component testing, focusing on testing components' rendering, behavior, and interactions in isolation, in a more developer-centric testing environment

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.digitalocean.com/community/tutorials/how-to-test-a-react-app-with-jest-and-react-testing-library"&gt;Blog&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cypress&lt;/strong&gt;
For E2E testing, simulating user interactions, and testing complex user flows across multiple pages or components.

&lt;ul&gt;
&lt;li&gt;&lt;a href="https://www.cypress.io/"&gt;Docs&lt;/a&gt;&lt;/li&gt;
&lt;/ul&gt;


&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Looking forward to your feedback or any other resource worth sharing. 🙌&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>react</category>
      <category>beginners</category>
      <category>opensource</category>
    </item>
  </channel>
</rss>
