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

249
Views
Is it possible to use import for development and react.lazy for production in React?

There's a question: Is it possible to use import for development and react.lazy for production?

Why I need this: There's a project including highchart charts. The page can be "broken" by adding or removing files in a folder and I have to reload the page to watch the result again. But react.lazy helps to load the page faster so I need this option too.

That's why I would like to divide them into 2 parts: real imports for dev mode and lazy loading for prod mode.

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!