Ask a Question
Ask Question Login
Corporate Training
  1. Community
  2. Salesforce
  3. Question
Salesforce

What are lightning component library - mock data import

Asked by Ankit Chauhan Aug 19, 2021 1.9K views 3 answers
Share

About this question

I see this line of code in the lightning component library.

How do I access this library component? I tried search for aura:import in the developer guide and could not find it's usage? Can you please help? Thanks in advance.

Your answer

3 Answers

Michael Adam Latest answer

Answered on Oct 6, 2026

One important distinction here is that `aura:import` is about loading JavaScript or framework resources, not importing mock data itself. If you're working with mock data, it's usually better to keep the data source separate from the component logic so the component can be tested without depending on a live backend.

The same idea applies outside Salesforce too. In a simulation game, separating game data from the interface makes it easier to test different scenarios, update content, and troubleshoot problems without changing the core UI.
Was this helpful?

Christodinan

Answered on Apr 12, 2026

The game is not just a race of speed, but also a strategic Cars Arena challenge, where only skillful and creative players can stand firm and ultimately win.

Was this helpful?

More Salesforce discussions

Learn & Explore

Free tutorials and interview questions from industry experts — learn the skill, then get ready to prove it.

Latest Salesforce Blogs

Guides, tips and career advice on Salesforce from JanBask experts.