<?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: Saravanan s</title>
    <description>The latest articles on DEV Community by Saravanan s (@saravanan_s_0fd4b60fc6b20).</description>
    <link>https://dev.to/saravanan_s_0fd4b60fc6b20</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%2F3333596%2Fd390ff45-6555-417d-af8b-c90721714b3e.jpg</url>
      <title>DEV Community: Saravanan s</title>
      <link>https://dev.to/saravanan_s_0fd4b60fc6b20</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/saravanan_s_0fd4b60fc6b20"/>
    <language>en</language>
    <item>
      <title>spring boot annotation</title>
      <dc:creator>Saravanan s</dc:creator>
      <pubDate>Fri, 20 Mar 2026 10:13:35 +0000</pubDate>
      <link>https://dev.to/saravanan_s_0fd4b60fc6b20/spring-boot-annotation-3hmc</link>
      <guid>https://dev.to/saravanan_s_0fd4b60fc6b20/spring-boot-annotation-3hmc</guid>
      <description>&lt;p&gt;Spring Boot uses annotations to reduce boilerplate code and make development faster. Instead of writing XML configuration, we use simple annotations to configure our application ..&lt;/p&gt;

&lt;p&gt;Types of annotation&lt;/p&gt;

&lt;p&gt;@SpringBootApplication&lt;br&gt;
@RestController&lt;br&gt;
@RequestMapping &lt;br&gt;
@GetMapping &lt;br&gt;
@PostMapping &lt;br&gt;
@PutMapping &lt;br&gt;
@DeleteMapping&lt;br&gt;
@pathvariables&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;@SpringBootApplication *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;SpringBootApplication is the main annotation used to start a Spring Boot application.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;@RestController&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;@RestController is used to create RESTful web services (APIs).&lt;/p&gt;

&lt;p&gt;*&lt;em&gt;@RequestMapping *&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;Maps HTTP requests to a class or method; used to define a base URL or endpoint&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;@GetMapping&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Handles HTTP GET requests to retrieve data from the server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;@PostMapping&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Handles HTTP POST requests to create new data on the server.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;@PutMapping&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Handles HTTP PUT requests to update existing data.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;@DeleteMapping&lt;/strong&gt; &lt;/p&gt;

&lt;p&gt;Handles HTTP DELETE requests to remove data from the server&lt;/p&gt;

&lt;p&gt;** @PathVariable**&lt;/p&gt;

&lt;p&gt;Used to extract values from the URL and pass them as method parameters&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Quick One-Line Summary&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;@SpringBootApplication → Start &amp;amp; configure app&lt;/p&gt;

&lt;p&gt;@RestController → Create REST APIs&lt;/p&gt;

&lt;p&gt;@RequestMapping → Define URL path&lt;/p&gt;

&lt;p&gt;@GetMapping → Read data&lt;/p&gt;

&lt;p&gt;@PostMapping → Create data&lt;/p&gt;

&lt;p&gt;@PutMapping → Update data&lt;/p&gt;

&lt;p&gt;@DeleteMapping → Delete data&lt;/p&gt;

&lt;p&gt;@PathVariable → Get value from URL&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Inheritance in Java</title>
      <dc:creator>Saravanan s</dc:creator>
      <pubDate>Wed, 18 Feb 2026 07:38:01 +0000</pubDate>
      <link>https://dev.to/saravanan_s_0fd4b60fc6b20/inheritance-in-java-204a</link>
      <guid>https://dev.to/saravanan_s_0fd4b60fc6b20/inheritance-in-java-204a</guid>
      <description>&lt;p&gt;Inheritance in Java&lt;/p&gt;

&lt;p&gt;Inheritance is one of the most important features of Object-Oriented Programming (OOP) in Java. It allows one class to acquire the properties and behaviors of another class. This helps in code reuse, better organization, and easier maintenance.&lt;/p&gt;

&lt;p&gt;What is Inheritance?&lt;/p&gt;

&lt;p&gt;Inheritance is a mechanism where a child class (subclass) inherits variables and methods from a parent class (superclass).&lt;/p&gt;

&lt;p&gt;Why Use Inheritance?&lt;/p&gt;

&lt;p&gt;Inheritance provides many benefits:&lt;/p&gt;

&lt;p&gt;Code Reusability – Write code once and use it multiple times&lt;/p&gt;

&lt;p&gt;Method Overriding – Achieve runtime polymorphism&lt;/p&gt;

&lt;p&gt;Improved Maintainability – Changes in parent class reflect in child class&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Parent {
    void show() {
        System.out.println("This is parent class");
    }
}

class Child extends Parent {
    void display() {
        System.out.println("This is child class");
    }
}

public class Main {
    public static void main(String[] args) {
        Child obj = new Child();
        obj.show();
        obj.display();
    }
}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;output&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;This is parent class
This is child class

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>beginners</category>
      <category>java</category>
      <category>oop</category>
      <category>programming</category>
    </item>
    <item>
      <title>Features of Java</title>
      <dc:creator>Saravanan s</dc:creator>
      <pubDate>Wed, 18 Feb 2026 06:48:21 +0000</pubDate>
      <link>https://dev.to/saravanan_s_0fd4b60fc6b20/features-of-java-4kaj</link>
      <guid>https://dev.to/saravanan_s_0fd4b60fc6b20/features-of-java-4kaj</guid>
      <description>&lt;p&gt;Features of Java&lt;/p&gt;

&lt;p&gt;Java is one of the most popular programming languages in the world. It is widely used for building web applications, mobile apps, desktop software, and enterprise systems. The main reason for Java’s popularity is its powerful and user-friendly features.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Simple&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java is easy to learn and understand. Its syntax is similar to C and C++, but it removes complex features like pointers and multiple inheritance, making it beginner-friendly.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Object-Oriented&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java follows Object-Oriented Programming (OOP) concepts such as:&lt;/p&gt;

&lt;p&gt;Class&lt;/p&gt;

&lt;p&gt;Object&lt;/p&gt;

&lt;p&gt;Inheritance&lt;/p&gt;

&lt;p&gt;Polymorphism&lt;/p&gt;

&lt;p&gt;Encapsulation&lt;/p&gt;

&lt;p&gt;Abstraction&lt;/p&gt;

&lt;p&gt;This helps in creating reusable, secure, and well-structured programs.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Platform Independent&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java follows the principle “Write Once, Run Anywhere” (WORA).&lt;br&gt;
Java programs are compiled into bytecode, which can run on any operating system (Windows, Linux, macOS) that has a Java Virtual Machine (JVM).&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Secure&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java provides strong security features:&lt;/p&gt;

&lt;p&gt;No use of pointers&lt;/p&gt;

&lt;p&gt;Bytecode verification&lt;/p&gt;

&lt;p&gt;Security manager&lt;/p&gt;

&lt;p&gt;These features protect systems from viruses and unauthorized access.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Robust&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java is a robust language because:&lt;/p&gt;

&lt;p&gt;It has strong memory management&lt;/p&gt;

&lt;p&gt;Automatic garbage collection&lt;/p&gt;

&lt;p&gt;Exception handling&lt;/p&gt;

&lt;p&gt;These features help prevent crashes and errors during program execution.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Multithreaded&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java supports multithreading, which allows multiple tasks to run at the same time.&lt;br&gt;
This improves application performance, especially in games, web servers, and real-time systems.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;High Performance&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java uses Just-In-Time (JIT) Compiler, which improves execution speed by converting bytecode into machine code at runtime.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Distributed&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java supports distributed computing using technologies like RMI and web services, making it suitable for large-scale network applications.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Dynamic&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java is dynamic in nature. It can load classes at runtime and supports dynamic memory allocation, which makes applications flexible and scalable.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Portable&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;Java programs are portable because they are not tied to any specific hardware or operating system. &lt;/p&gt;

</description>
    </item>
    <item>
      <title>introduction of java</title>
      <dc:creator>Saravanan s</dc:creator>
      <pubDate>Wed, 18 Feb 2026 05:42:53 +0000</pubDate>
      <link>https://dev.to/saravanan_s_0fd4b60fc6b20/introduction-of-java-5e63</link>
      <guid>https://dev.to/saravanan_s_0fd4b60fc6b20/introduction-of-java-5e63</guid>
      <description>&lt;p&gt;Java is a high-level, object-oriented programming language that is widely used to build reliable, secure, and scalable software applications. It was developed by Sun Microsystems in 1995 and is now maintained by Oracle.&lt;/p&gt;

&lt;p&gt;Java is used in many real-world applications such as:&lt;/p&gt;

&lt;p&gt;Web applications&lt;/p&gt;

&lt;p&gt;Mobile applications (especially Android apps)&lt;/p&gt;

&lt;p&gt;Desktop applications&lt;/p&gt;

&lt;p&gt;Enterprise-level systems&lt;/p&gt;

&lt;p&gt;Banking and financial software&lt;/p&gt;

&lt;p&gt;Because of its wide usage and strong community support, Java is one of the most in-demand programming languages and a great choice for beginners as well as experienced developers.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>React Router</title>
      <dc:creator>Saravanan s</dc:creator>
      <pubDate>Wed, 08 Oct 2025 07:10:25 +0000</pubDate>
      <link>https://dev.to/saravanan_s_0fd4b60fc6b20/react-router-nah</link>
      <guid>https://dev.to/saravanan_s_0fd4b60fc6b20/react-router-nah</guid>
      <description>&lt;p&gt;&lt;strong&gt;what is react router&lt;/strong&gt;&lt;br&gt;
       React Router is a library that provides routing capabilities for React applications.&lt;/p&gt;

&lt;p&gt;Routing means handling navigation between different views.&lt;/p&gt;

&lt;p&gt;React Router is the standard routing library for React applications. It enables you to:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;react routre intallation&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install react-router-dom 
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Components for Navigation&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt; &amp;lt;BrowserRouter&amp;gt;, &amp;lt;Routes&amp;gt;, &amp;lt;Route&amp;gt;, &amp;lt;Link&amp;gt;, and &amp;lt;NavLink&amp;gt; to enable navigation and define routing logic.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;type of ract router&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;BrowserRouter: The BrowserRouter is the most commonly used router for modern React applications.&lt;/p&gt;

&lt;p&gt;HashRouter: The HashRouter is useful when you want to use a URL hash (#) for routing, rather than the HTML5 history API.&lt;/p&gt;

&lt;p&gt;MemoryRouter: The MemoryRouter is used in non-browser environments, such as in React Native or when running tests.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;REACT ROUTER&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;* Create multiple pages in your single-page application
* Handle URL parameters and query strings
* Manage browser history and navigation
* Create nested routes and layouts
* Implement protected routes for authentication
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Basic Routing&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;* Link: Creates navigation links that update the URL
* Routes: A container for all your route definitions
* Route: Defines a mapping between a URL path and a component
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;Uses of React Router&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Navigation and Routing&lt;/li&gt;
&lt;li&gt;Dynamic Routing&lt;/li&gt;
&lt;li&gt;URL Management&lt;/li&gt;
&lt;li&gt;Component-Based Approach&lt;/li&gt;
&lt;li&gt;Handling Nested Routes&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Features of React Router&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Declarative Routing&lt;/li&gt;
&lt;li&gt;Nested Routes:&lt;/li&gt;
&lt;li&gt;Programmatic Navigation&lt;/li&gt;
&lt;li&gt;Route Parameters&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;mproved TypeScript Suppor&lt;/p&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;This is a react router in react the way of i understant the router in react 
&lt;/code&gt;&lt;/pre&gt;
&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>frontend</category>
      <category>javascript</category>
      <category>react</category>
      <category>beginners</category>
    </item>
    <item>
      <title>usecontext and what is prop drilling in react</title>
      <dc:creator>Saravanan s</dc:creator>
      <pubDate>Fri, 03 Oct 2025 07:21:03 +0000</pubDate>
      <link>https://dev.to/saravanan_s_0fd4b60fc6b20/usecontext-and-what-is-prop-drilling-in-react-2ge1</link>
      <guid>https://dev.to/saravanan_s_0fd4b60fc6b20/usecontext-and-what-is-prop-drilling-in-react-2ge1</guid>
      <description>&lt;p&gt;&lt;strong&gt;what is usecontex&lt;/strong&gt;&lt;br&gt;
        the useContext hook in React provides a way to consume values from a React Context within functional components.&lt;br&gt;
    It is a powerful tool for sharing data across the component tree without the need for "prop drilling,"&lt;br&gt;
    where props are manually passed down through multiple levels of nested components.&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Create a Context:
   First, you need to create a Context object using React.createContext(). This object will hold the data you want to share.
&lt;/li&gt;
&lt;/ol&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;
// MyContext.js
import React, { createContext } from 'react';

export const MyContext = createContext('default value'); 
// You can provide a default value here, which will be used if no Provider is found.


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;2. Provide the Context Value:&lt;/strong&gt;&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;        Wrap the parent component (or the part of your component tree) that needs access to the context with MyContext.Provider. 
The value prop of the provider will be the data th3. Consume the Context Value:at child components can consume.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;&lt;strong&gt;3. Consume the Context Value:&lt;/strong&gt;&lt;br&gt;
         any child component (even deeply nested ones) that needs to access the context data, &lt;br&gt;
        import useContnext and the MyContext object. Then, &lt;br&gt;
        call useContext(MyContext) to retrieve the value. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;what is prop drilling&lt;/strong&gt;&lt;br&gt;
          the process in React and similar frameworks where data is passed down through multiple nested components&lt;br&gt;
        , even if those intermediate components don't need the data themselves&lt;br&gt;
        , to reach a deeply nested child component that does&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;how to use prop drilling&lt;/strong&gt;&lt;br&gt;
      ass props down through intermediate components that don't need them, creating a direct line from a parent component to a deeply nested grandchild component that does need the data.&lt;/p&gt;

&lt;p&gt;THIS IS THE MY UNDERSTAND OF THE USECONTEXT AND PROP DRILLING&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>react</category>
    </item>
    <item>
      <title>Using Tailwind CSS with React.js</title>
      <dc:creator>Saravanan s</dc:creator>
      <pubDate>Thu, 02 Oct 2025 16:46:33 +0000</pubDate>
      <link>https://dev.to/saravanan_s_0fd4b60fc6b20/using-tailwind-css-with-reactjs-2b41</link>
      <guid>https://dev.to/saravanan_s_0fd4b60fc6b20/using-tailwind-css-with-reactjs-2b41</guid>
      <description>&lt;p&gt;&lt;strong&gt;what is tailwind&lt;/strong&gt;&lt;br&gt;
Tailwind CSS is a utility-first CSS framework that enables developers to quickly build modern and responsive user interfaces. When combined with React.js, a popular JavaScript library for building user interfaces, the two technologies synergize to streamline the development process. In this article, we'll explore how to integrate Tailwind CSS seamlessly into a React.js project.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Step 1: Create a React App&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;If you haven't already set up a React app, use the following commands to create one:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npx create-react-app my-tailwind-app
cd my-tailwind-app

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 2: Install Tailwind CSS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Next, install Tailwind CSS and its dependencies usingnpm:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm install tailwindcss postcss autoprefixer

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Step 3: Configure Tailwind CSS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Create a tailwind.config.jsfile in the root of your project and configure it:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Import Tailwind CSS in your styles&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Open the src/index.css file and import Tailwind CSS&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;src/index.css 
@import 'tailwindcss/base';
@import 'tailwindcss/components';
@import 'tailwindcss/utilities';

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Run your React App&lt;/p&gt;

&lt;p&gt;Finally, start your React app to see the integration in action:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;npm start
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Visit &lt;a href="http://localhost:5173in" rel="noopener noreferrer"&gt;http://localhost:5173in&lt;/a&gt; your browser, and you should see your React app with Tailwind CSS styles applied.&lt;/p&gt;

</description>
      <category>react</category>
      <category>tailwindcss</category>
      <category>tutorial</category>
      <category>javascript</category>
    </item>
    <item>
      <title>My Java Full Stack Journey Learning (Props Drilling) in React JS</title>
      <dc:creator>Saravanan s</dc:creator>
      <pubDate>Wed, 01 Oct 2025 09:36:57 +0000</pubDate>
      <link>https://dev.to/saravanan_s_0fd4b60fc6b20/my-java-full-stack-journey-learning-props-drilling-in-react-js-58b1</link>
      <guid>https://dev.to/saravanan_s_0fd4b60fc6b20/my-java-full-stack-journey-learning-props-drilling-in-react-js-58b1</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is Props Drilling:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Props drilling happens when you need to pass data from a parent components to a deeply nested child component,but that child is not directly connect to the parent&lt;/p&gt;

&lt;p&gt;the data is passed from a parent component to a child components using props&lt;/p&gt;

&lt;p&gt;but you may need to pass data through many layers of components even if the middle components don't actually use the data . &lt;/p&gt;

&lt;p&gt;This is baseic of props drillin and this is my understanding of props deilling&lt;/p&gt;

</description>
    </item>
    <item>
      <title>My Java Full Stack Journey Learning (Props) in React JS</title>
      <dc:creator>Saravanan s</dc:creator>
      <pubDate>Wed, 01 Oct 2025 09:32:46 +0000</pubDate>
      <link>https://dev.to/saravanan_s_0fd4b60fc6b20/my-java-full-stack-journey-learning-props-in-react-js-akp</link>
      <guid>https://dev.to/saravanan_s_0fd4b60fc6b20/my-java-full-stack-journey-learning-props-in-react-js-akp</guid>
      <description>&lt;p&gt;&lt;strong&gt;WHAT IS PROPS&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Props are like arguments you pass to a function but there you pass them to a components .&lt;/p&gt;

&lt;p&gt;they allows to send parent components to child components.&lt;/p&gt;

&lt;p&gt;Props are read only - the child components cannot change.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;why:&lt;/strong&gt;&lt;br&gt;
To reuse components with &lt;br&gt;
different data&lt;br&gt;
To make components dynamic instead of hardcoding values (change output based on input)&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;When:&lt;/strong&gt;&lt;br&gt;
when a child components needs data from its parents components&lt;br&gt;
when you want to reuse a component with different data&lt;br&gt;
when your ui should change dynamically based on inputs&lt;/p&gt;

</description>
      <category>tutorial</category>
      <category>javascript</category>
      <category>beginners</category>
      <category>react</category>
    </item>
    <item>
      <title>MY JAVA FULL STACK My Java Full Stack Journey Learning (react installation)</title>
      <dc:creator>Saravanan s</dc:creator>
      <pubDate>Wed, 01 Oct 2025 09:24:10 +0000</pubDate>
      <link>https://dev.to/saravanan_s_0fd4b60fc6b20/my-java-full-stack-my-java-full-stack-journey-learning-react-installation-4bam</link>
      <guid>https://dev.to/saravanan_s_0fd4b60fc6b20/my-java-full-stack-my-java-full-stack-journey-learning-react-installation-4bam</guid>
      <description>&lt;p&gt;&lt;strong&gt;What is components in react.s?:&lt;/strong&gt;&lt;br&gt;
*Components is a resuable piece of UI like (button,card,navbar,form).&lt;br&gt;
*Component is a building block of a React application.&lt;br&gt;
*Components can be reused anywhere in the app.&lt;br&gt;
*Two types of components functional and class components.&lt;br&gt;
*Each components can handle its own logic,styling,and state.&lt;br&gt;
*Javascript function or class that returns HTML like JSX&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;There are Types of Components:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Functional Components (it is morden version)&lt;/li&gt;
&lt;li&gt;Class Components (older, less used now)&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;Functional Components example:&lt;/strong&gt;&lt;br&gt;
Is this function returns JSX&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;function message(){
retun(
&amp;lt;h1&amp;gt; Hi Lakshmi!..&amp;lt;/h1&amp;gt;;
)

}

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Class Components example:&lt;/strong&gt;&lt;br&gt;
Written as a JavaScript class.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;class Greeting extends React.Component {
  render() {
    return &amp;lt;h1&amp;gt;Hello, World!&amp;lt;/h1&amp;gt;;
  }
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Why do we use Components?:&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reuse code (write ones, use multiple times ).&lt;/li&gt;
&lt;li&gt;Readable(code is easier to mange).&lt;/li&gt;
&lt;li&gt;UI can be separated into smaller parts.&lt;/li&gt;
&lt;li&gt;Composability small components combine in to &lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>beginners</category>
      <category>javascript</category>
      <category>react</category>
    </item>
    <item>
      <title>MY JAVA FULL STACK My Java Full Stack Journey Learning (react)</title>
      <dc:creator>Saravanan s</dc:creator>
      <pubDate>Wed, 01 Oct 2025 09:03:15 +0000</pubDate>
      <link>https://dev.to/saravanan_s_0fd4b60fc6b20/my-java-full-stack-my-java-full-stack-journey-learning-react-1c8a</link>
      <guid>https://dev.to/saravanan_s_0fd4b60fc6b20/my-java-full-stack-my-java-full-stack-journey-learning-react-1c8a</guid>
      <description>&lt;p&gt;&lt;strong&gt;what is react&lt;/strong&gt;&lt;br&gt;
 React is a JavaScript library created by Facebook for building user interfaces. It helps developers build single-page applications (SPAs) where the page doesn’t reload but updates instantly when data changes.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Why React?&lt;/strong&gt;&lt;br&gt;
Reusable Components – Build once, use everywhere.&lt;/p&gt;

&lt;p&gt;Fast Rendering – React uses a Virtual DOM to update only what’s needed.&lt;/p&gt;

&lt;p&gt;Easy to Learn – Simple to pick up if you know HTML, CSS, and JavaScript.&lt;/p&gt;

&lt;p&gt;Large Community – Lots of libraries, tutorials, and support.&lt;/p&gt;

&lt;p&gt;Used by Big Companies – Facebook, Instagram, Netflix&lt;/p&gt;

&lt;p&gt;**Use of React (with Example Code)&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;import React, { useState } from "react";

function Counter() {
  // useState hook to store the counter value
  const [count, setCount] = useState(0);

  return (
    &amp;lt;div style={{ textAlign: "center", marginTop: "20px" }}&amp;gt;
      &amp;lt;h1&amp;gt;React Counter App&amp;lt;/h1&amp;gt;
      &amp;lt;p&amp;gt;You clicked {count} times&amp;lt;/p&amp;gt;
      &amp;lt;button onClick={() =&amp;gt; setCount(count + 1)}&amp;gt;Increase&amp;lt;/button&amp;gt;
      &amp;lt;button onClick={() =&amp;gt; setCount(count - 1)}&amp;gt;Decrease&amp;lt;/button&amp;gt;
    &amp;lt;/div&amp;gt;
  );
}

export default Counter;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br&gt;
React is one of the most popular libraries for front-end development.&lt;br&gt;
It’s fast, flexible, and makes building interactive UIs much easier.&lt;/p&gt;

</description>
      <category>javascript</category>
      <category>webdev</category>
      <category>beginners</category>
      <category>react</category>
    </item>
    <item>
      <title>Closure, Fetch, and Axios in JavaScript</title>
      <dc:creator>Saravanan s</dc:creator>
      <pubDate>Thu, 04 Sep 2025 17:13:59 +0000</pubDate>
      <link>https://dev.to/saravanan_s_0fd4b60fc6b20/closure-fetch-and-axios-in-javascript-33h1</link>
      <guid>https://dev.to/saravanan_s_0fd4b60fc6b20/closure-fetch-and-axios-in-javascript-33h1</guid>
      <description>&lt;p&gt;&lt;strong&gt;what is axios&lt;/strong&gt;&lt;br&gt;
 1 It is open source library for making the HTTP request to the server&lt;/p&gt;

&lt;p&gt;2 It Handling the error better than the fetch()&lt;/p&gt;

&lt;p&gt;3 It automatically transforming the request in to json formate.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;axios.get("https://fakestoreapi.com/products"")
      .then(res =&amp;gt; {
        console.log(res);
      })
      .catch(err =&amp;gt; {
        console.error(err);
      });
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;How to install the axios&lt;/strong&gt;&lt;br&gt;
                      In linux &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;CODE&lt;/strong&gt;&lt;br&gt;
 *&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;        npm install axios
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Fetch() function in ja&lt;/strong&gt;&lt;br&gt;
      The fetch() API in JavaScript provides a modern and promise-based way to make network requests, such as fetching data from a server or submitting form data. It offers a        more flexible and powerful alternative to the older XMLHttpRequest (XHR) method&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;script&amp;gt;
fetch("https://fakestoreapi.com/products")
.then((res)=&amp;gt; res.json())
.then(jsonresponse)=&amp;gt;console.log(jsonresponse)
.catch((rej)=&amp;gt;rej.json())
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;&lt;strong&gt;Fetch function arguments&lt;/strong&gt;&lt;br&gt;
The fetch() function takes one mandatory argument, the URL of the resource to fetch, and returns a Promise that resolves to a Response object.&lt;br&gt;
JavaScript&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Closure in js&lt;/strong&gt;&lt;br&gt;
    A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment). In other words, a closure gives a function access to its outer scope. In JavaScript, closures are created every time a function is created, at function creation&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Example&lt;/strong&gt;&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;script&amp;gt;
function account(amount){
let balance = amount;
function deposite(amt){
balance=balance+amt;
console.log(balance);}

return deposite;
}
const deposit1 = account(1000);
deposit1.deposite(500);
&amp;lt;/script&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;And I also knowledge about the JSON function in js &lt;strong&gt;JSON&lt;/strong&gt;-JavaScript Object Notation&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;What is JSON&lt;/strong&gt;&lt;br&gt;
    JSON, or JavaScript Object Notation, is a lightweight data-interchange format that is widely used in web applications for storing and transmitting data between a server and a client&lt;/p&gt;

</description>
    </item>
  </channel>
</rss>
