Dummies
Dummies are empty "shell" components that don't contain the actual implementation.
However, those dummies can be used as real React components and they will re-render automatically once they get implemented.
Essentially you can create dummies, which will not add any size to your bundle, use them, but implement them with real components only later when necessary.
mock()
- dummy that can be implemented using.implement()
method.loadable()
- dummy that can be loaded using.load()
method.lazy()
- likeloadable()
, but also loads automatically when rendered for the first time.delayed()
- likelazy()
, but its loading can be delayed.viewport()
- postpones component's rendering until it is visible in viewport at least once.