<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet href="/rss.xsl" type="text/xsl"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Posts tagged: react</title>
    <link>https://waylonwalker.com/tags/react/</link>
    <description>All posts with the tag &#34;react&#34;</description>
    <lastBuildDate>Sun, 09 Oct 2022 20:56:19 +0000</lastBuildDate>
    <generator>markata-go</generator>
    <docs>https://www.rssboard.org/rss-specification</docs>
    <atom:link href="https://waylonwalker.com/tags/react/rss.xml" rel="self" type="application/rss+xml"></atom:link>
    <item>
      <title>Using Django Rest Framework inside react</title>
      <link>https://waylonwalker.com/django-rest-framework-react/</link>
      <description>npx create-react-app todoreact&#xA;import React,{useState,useEffect} from &amp;#39;react&amp;#39;;&#xA;import &amp;#39;./App.css&amp;#39;;&#xA;&#xA;function App() {&#xA;  const [data,setData]=useState([]);&#xA;  const [newName,setNewName]=useState([]);&#xA;  const getData=()=&amp;gt;{&#xA;    fetch(&amp;#39;/api&amp;#39;&#xA;    ,{&#xA;      headers : {&#xA;        &amp;#39;Content-Type&amp;#39;: &amp;#39;application/json&amp;#39;,&#xA;        &amp;#39;Accept&amp;#39;: &amp;#39;application/json&amp;#39;&#xA;       }&#xA;    }&#xA;    )&#xA;      .then(function(response){&#xA;        return response.json();&#xA;      })&#xA;    ...</description>
      <pubDate>Sun, 09 Oct 2022 20:56:19 +0000</pubDate>
      <guid isPermaLink="true">https://waylonwalker.com/django-rest-framework-react/</guid>
      <author>hello@waylonwalker.com</author>
      <category>python</category>
      <category>django</category>
      <category>react</category>
      <category>webdev</category>
    </item>
  </channel>
</rss>