Web appOpen in Telegram
JJavaScript Es

JavaScript Es

@javascriptes · group · Tech · indexed since 2026-07-25
4 133members
47 611messages in the index
N
File
navegador.PNG · 58 KB · click to show
N
File
codigo.PNG · 141 KB · click to show
N
Y al escribir en el input, debería sacarme las opciones que tengo, pero no me sale, y llevo atascada 2 días aquí... No puedo avanzar en el curso
C
Trabajando en React tengo este problema.... Tengo el siguiente componente: const VolcanoDateField = (props) => { const { date, format } = props; const { i18n } = useTranslation(); const datetime = new Date(date); const getDateString = (short) => { let stringDate = ""; if (datetime !== undefined) { stringDate = Intl.DateTimeFormat(i18n.language, { timeZone: "Europe/London", year: "numeric", month: short ? "2-digit" : "long", day: "2-digit", }).format(datetime); } return stringDate; }; const getTimeString = () => { let stringTime = ""; if (datetime !== undefined) { stringTime = Intl.DateTimeFormat(i18n.language, { timeZone: "Europe/London", hour12: false, hour: "numeric", minute: "numeric", second: "numeric", }).format(datetime); } return stringTime; }; const buildObjectFromDate = () => { switch (format) { case constants.SHORT_DATETIME: return ( <div> {getDateString(true)} <br /> {getTimeString()} </div> ); break; case constants.LONG_DATETIME: return ( <div> {getDateString(false)} <br /> {getTimeString()} </div> ); break; case constants.ONLY_DATE: return <div>{getDateString(true)}</div>; break; case constants.ONLY_LONG_DATE: return <div>{getDateString(false)}</div>; break; case constants.ONLY_TIME: return <div>{getTimeString(false)}</div>; break; default: return ""; } }; return ( buildObjectFromDate() ); }; Según entiendo todo está bien y retorna lo adecuado (string o JSX) pero cuando intento invocarlo así: <MyDateField date={entity} format={constants.SHORT_DATETIME} /> El navegador devuelve el siguiente error: React.createElement: type is invalid --
A
Hola amigos, vengo a consultaros. En algunas páginas en el banner de cookies, hay un apartado de configurar las cookies. Me pregunta es dónde se almacenan los valores que selecciona el usuario en esa configuración. He estado revisando el localStorage de algunas páginas que lo piden y no almacenan nada ahí. No sé si alguien puede ayudarme y darme una idea. Gracias.
  1. G
    El localstorage es distinto a las cookies, creo que el almacén lleva el mismo nombre "cookies"
Whole thread · 3 replies →
G
Alli te explican algo, no he usado JS para acceder a las cookies pero no es necesario el uso de librerías
G
Alguno sabe qué tal es el curso de JonMircha en YouTube???
  1. C
    Uno mas completo que ese no creo que exista y eso que es gratis
    1. M
      los hay más o menos completos, pero, gratis 101% no lo hay. Así que, yo que vosotros me iría a mirarlo totalmente gratis
  2. I
    si quieres un curso muy muy bueno (pero de pago) checa en udemy el curso de Fernando Herrera y el de Juan de la Torre, ambos súper recomendables
      1. I
        cada cierto tiempo tienen ofertas en udemy, llegan a estar ha 8 o 10 USD cada curso
        1. G
          Las he visto, el problema es más a nivel personal el costear jajajaja
Whole thread · 7 replies →
D
Julio antes de escribir, necesito saber si eres un bot. Pulsa el botón inferior y dale a iniciar
Y
Hombre, 10 euros frente a un curso de 2000....

An open public feed from the search index ChatCrawler — “Google for public Telegram”; refreshed as the venue is crawled. Times are UTC.

Public content only, official Telegram API. About · FAQ · What we do not do · Remove a page · Catalog · Search · How we count