- 
                Notifications
    
You must be signed in to change notification settings  - Fork 0
 
Implement auto refresh of items on the frontend #68
Comments
| 
           This depends on #123  | 
    
| 
           This does not depends on #123 and can be implemented with a timer function being attached to the ItemTable data fetch.  | 
    
| 
           A significant refactoring of webqueue2 needs to take place to allow for compassable components which allow state to be managed in a singular location and reduces re-renders/updates. Updating the data of the ItemTable cannot happen right now without causing significant re-rendering issues. However, if/when the composition refactoring happens, below is a sketch for a design of how to implement an auto refresh action in the UI:  | 
    
| 
           A timer function should be added as a   | 
    
| 
           A  useEffect(
  const timer = setTimeout(() => console.log("Hello, World!"), 3000);
  return () => clearTimeout(timer);
); | 
    
| 
           Added in #227  | 
    
At the moment, the data in the ItemTable only loads when the App component is rendered which is equivalent to a full page refresh. This data should be refreshed after a fixed amount of time.
The text was updated successfully, but these errors were encountered: