This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const isoStatesCodes = [ | |
| { | |
| code: 'MX-AGU', | |
| name: 'Aguascalientes', | |
| }, | |
| { | |
| code: 'MX-BCN', | |
| name: 'Baja California', | |
| }, | |
| { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import React from 'react'; | |
| import { View } from 'react-native'; | |
| import LinearGradient from 'react-native-linear-gradient'; | |
| class SkeletonLocationLoader extends React.Component { | |
| constructor(props) { | |
| super(props); | |
| this.state = { | |
| backgroundColor: '#F1F1F1', | |
| highlightColor: '#FFF', |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const STATUS = { | |
| CONFIRMED: 'confirmed', | |
| DEATHS: 'deaths', | |
| RECOVERED: 'recovered', | |
| }; | |
| class CovidApi { | |
| constructor() { | |
| this.baseUrl = 'https://api.covid19api.com'; | |
| this.country = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>React en 1 minuto</title> | |
| </head> | |
| <body> | |
| <div id="root"></div> | |
| <script |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="es"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>React.js Optimization</title> | |
| </head> | |
| <body> | |
| <div id="root"></div> | |
| <script | |
| src="https://unpkg.com/react@17/umd/react.development.js" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // Available variables: | |
| // - Machine | |
| // - interpret | |
| // - assign | |
| // - send | |
| // - sendParent | |
| // - spawn | |
| // - raise | |
| // - actions |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>porfi.dev React JS | Prueba 01</title> | |
| </head> | |
| <body> | |
| <div id="app_container"></div> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>porfi.dev React JS | Prueba 02</title> | |
| <style> | |
| .TabStrip { | |
| display: flex; | |
| flex-direction: row; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <title>Upload URL FILES</title> | |
| </head> | |
| <body> | |
| <script type="module"> | |
| // Import the functions you need from the SDKs you need |