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

154
Views
Does importing a large object and only using a few of it's properties affect react app performance?

I have a large object with more than 100 properties and it is exported from a file. Does importing the whole object inside a component affect app performance (in production or development) ?

//largeObject has mutiple properties
import largeObject from '../index.js';

largeObject.a1();

And I don't want to do it like below ,So I can access Object properties names with auto-complete.

import {a1} from largeObject;
//don't wanna do it like this
about 4 years ago · Santiago Gelvez
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!