Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

340
Views
El paquete de Heart React animado no está vinculado

Estoy usando el siguiente paquete, que instalé en mi paquete.json.

https://hackernoon.com/how-to-create-a-react-animated-like-heart-in-seconds-ts1g371m

Estoy tratando de usar este paquete directamente, usando lo siguiente

 import React, { useState } from "react"; import Heart from "react-animated-heart"; export default function App() { const [isClick, setClick] = useState(false); return ( <div className="App"> <Heart isClick={isClick} onClick={() => setClick(!isClick)} /> </div> ); }

Recibo el mensaje de retorno en la consola:

 ./src/components/JobListing/JobCard.jsx

Y el siguiente mensaje: Como puede ver, apunta a mi componente src, cuando debería estar buscando el paquete en el archivo install.

 Module not found: Can't resolve 'react-animated-heart' in 'C:\ApplyWithin_repo_file\ApplyWithin\frontend\src\components\JobListing'

alguien sabe como solucionar

about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!