adriansteffan / reactive-psych

(Very early stage) A framework for building interactive psychology experiments using React and modern web technologies.
https://www.npmjs.com/package/reactive-psych
0 stars 0 forks source link

Make the progress bar dynamic #13

Open adriansteffan opened 4 days ago

adriansteffan commented 4 days ago

give the (nested) trials more fine grained control over how they control the progress bar by defining a total amount of units the trial takes up and then consuming a "showProgress" function that rerenders the outer bar based on a signal from within the trial component

adriansteffan commented 4 days ago

Same piece of code: Move the progress bar out of the transformation function for components