Describe what have you tried so far
I tried documentation approach with Variable([])
Describe your question
How to make items render dynamically?
I have a small code that reads something from a file and returns an array of tasks for certain day.
I am able to console.log the array properly, but I can't seem to make it map?
reRenderTodoList is a function that's supposed to rerender todos Variable on each day change. console.log(parsedTodos) shows a proper array of todos on each single day change.
example output of that console.log:
Have you read through the documentation?
Describe what have you tried so far I tried documentation approach with Variable([])
Describe your question How to make items render dynamically? I have a small code that reads something from a file and returns an array of tasks for certain day. I am able to console.log the array properly, but I can't seem to make it map?
Here is the code:
reRenderTodoList is a function that's supposed to rerender todos Variable on each day change. console.log(parsedTodos) shows a proper array of todos on each single day change. example output of that console.log:
However the console.log(todos) is not properly updated and it always displays:
Am I making something wrong here ?