reload functionality
See original GitHub issueWDYT about reload functionality? Can look like this:
import loadable from 'loadable-components'
const MyLoadableComponent = loadable(() => import('./MyComponent'), {
ErrorComponent: ({ error, reload }) => <div><h1>Error</h1><a onClick={reload}>try again</a></div>,
LoadingComponent: () => <div>Loading...</div>,
})
Issue Analytics
- State:
- Created 5 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
location.reload() - Web APIs | MDN
The location.reload() method reloads the current URL, like the Refresh button. The reload may be blocked and a SECURITY_ERROR DOMException ...
Read more >Location reload() Method
The reload() method reloads the current document. The reload() method does the same as the reload button in your browser.
Read more >JavaScript reload() method
In JavaScript, the reload() method is used to reload a webpage. It is similar to the refresh button of the browser. This method...
Read more >Reload Option Definition
A reload option is a type of employee compensation in which additional stock options are granted upon the exercise of the previously granted...
Read more >Refresh the Page in JavaScript – JS Reload Window Tutorial
reload () JavaScript method to reload the current URL. This method functions similarly to the browser's Refresh button. The reload() method is ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@superandrew213 not yet, but I will soon. Stay tuned about new versions.
@neoziro did you ever add
reload
?Is there a way to do this with the current version?