Go to URL => https://nodejs.org/es
Then run the file downloaded.
After the installation check the version with the command.
_ node -v
>_ npm install -g @ionic/cli
Go to URL => https://nodejs.org/es
Then run the file downloaded.
After the installation check the version with the command.
_ node -v
>_ npm install -g @ionic/cli
-- ejercicio 1 useState (update counter separately) | |
import { useState } from 'react'; | |
export default function MyApp() { | |
return ( | |
<div> | |
<h1>Counters that update separately</h1> | |
<MyButton /> | |
<MyButton /> |
import logo from './logo.svg'; | |
import './App.css'; | |
import React, { useState } from 'react'; | |
function App() { | |
const [temp, setTemp] = useState(''); | |
const [desc, setDesc] = useState(''); | |
const [icon, setIcon] = useState(''); | |
const [isReady, setReady] = useState(false); |