You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Loading of template is done in 'client/src/components/GeneratorApp/GeneratorApp.js' lines 59-69.
Loading of tar is done in 'client/src/components/GeneratorApp/Header/GeneratorAppHeader.js' lines 77-82.
Current implementation, due to time constraints, was to use a setTimeout() before attempting to retrieve data from the node.js server in server.js. This is an issue due to not being fault tolerant. ie. a slow connection might create a situation where the data isn't ready to be retrieved after the setTimeout() has expired or a large template generation might take longer, hence not be ready to be retrieved in time.
Methods to try:
Redux connect()
Redux subscribe()
Using Promises to wait until state changes
The text was updated successfully, but these errors were encountered:
Loading of template is done in 'client/src/components/GeneratorApp/GeneratorApp.js' lines 59-69.
Loading of tar is done in 'client/src/components/GeneratorApp/Header/GeneratorAppHeader.js' lines 77-82.
Current implementation, due to time constraints, was to use a setTimeout() before attempting to retrieve data from the node.js server in server.js. This is an issue due to not being fault tolerant. ie. a slow connection might create a situation where the data isn't ready to be retrieved after the setTimeout() has expired or a large template generation might take longer, hence not be ready to be retrieved in time.
Methods to try:
Redux connect()
Redux subscribe()
Using Promises to wait until state changes
The text was updated successfully, but these errors were encountered: