<?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: Kamikaze</title>
    <description>The latest articles on DEV Community by Kamikaze (@kamikazeve).</description>
    <link>https://dev.to/kamikazeve</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%2F350618%2F58eb2d6b-2be6-45c7-aa15-52d4a935ece9.png</url>
      <title>DEV Community: Kamikaze</title>
      <link>https://dev.to/kamikazeve</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/kamikazeve"/>
    <language>en</language>
    <item>
      <title>How to Redirect After Login</title>
      <dc:creator>Kamikaze</dc:creator>
      <pubDate>Sat, 14 Mar 2020 15:07:25 +0000</pubDate>
      <link>https://dev.to/kamikazeve/how-to-redirect-after-login-215i</link>
      <guid>https://dev.to/kamikazeve/how-to-redirect-after-login-215i</guid>
      <description>&lt;p&gt;I have this code:&lt;br&gt;
BrowserRouter&lt;br&gt;
Switch&lt;br&gt;
      Redirect from="/" exact to={verificarLogueo ? "/dashboard" : "/login"} /&lt;/p&gt;

&lt;div class="highlight"&gt;&lt;pre class="highlight plaintext"&gt;&lt;code&gt;  Route exact path="/login" component={Login} /
  Route exact path="/dashboard" component={Dashboard} /
/Switch
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;

&lt;p&gt;/BrowserRouter&lt;/p&gt;

&lt;p&gt;How to redirect  at my Dashboard Component after Login using Router when verificarLogueo change the value at true?&lt;/p&gt;

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