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
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -266,3 +266,10 @@ A use case is Server-Side-Rendering:
266
266
- And when all promises have revolved, it is guessable that all the data are ready for the application to rerender again
267
267
268
268
For more information, see the corresponding source code: <https://github.com/Coreoz/simple-http-rest-client/tree/master/src/lib/promise/PromiseMonitor.ts>
269
+
270
+
Tree shaking
271
+
------------
272
+
This library supports tree shaking: components from this library that are not used will not end in your final build as long as your bundler supports this feature.
273
+
For example, if the component `SynchronizedHttpPromise` is not used, it will not be packaged in your final application build.
274
+
275
+
[Vite](https://vitejs.dev/) is a great bundler to achieve this.
0 commit comments