Hi @johnson.elugbadebo and welcome to the community
I’m not a React developer, but I think I get it:
With <App tasks={DATA} />
in index.js
we create a property for the “App” component called “tasks” which contains the required information. Properties are an interface between a component and its parent code. They are comparable with function arguments. Such a property can then be used inside this component.
When we now look at “App.js” the main function starts with
function App(props) {
const [tasks, setTasks] = useState(props.tasks);
...
That’s the moment we assign the property “tasks” to a variable (with the same name) inside the “App” component. After this line we can now use the tasks
variable.
By the way, I’m sorry you never got an answer to your Electron question. It seems no one here has any experience with it (me included).
Have a nice weekend,
Michael