Collections In Lightning Components
Collections are building blocks for any object oriented programming language. In Apex we use LIST, SET, MAP collection types in order to work with records!
Here in this blog, we are going look at some basic code on using Collection Types in context with Lightning Components.....
First we create an Apex Controller with two methods to return List and Map respectively. We will use these methods to access from our Lighting Component and display them on the Home Page.