Skip to main content

WrapperObject to wrap & Encapsulate data

aka wrap, Wraps, Wrapping, Wrapper-Function, Wrapper-Fn

String

Autoboxing Wrapper for string Primitive

Number

Autoboxing Wrapper for number Primitive

BigInt

Autoboxing Wrapper for bigint Primitive

Boolean

Autoboxing Wrapper for boolean Primitive; converts Argument to boolean

Symbol

Autoboxing Wrapper for symbol Primitive to return unique immutable symbol

All Primitive except for null & undefined have access to Method via a Autoboxing a Wrapper

References

  1. AutoboxingGlobal Object Wrapper for Primitive to share methods & properties

  2. StringAutoboxing Wrapper for string Primitive

  3. NumberAutoboxing Wrapper for number Primitive

  4. SymbolAutoboxing Wrapper for symbol Primitive to return unique immutable symbol

  5. BigIntAutoboxing Wrapper for bigint Primitive

  6. BooleanAutoboxing Wrapper for boolean Primitive; converts Argument to boolean

  7. <Suspense>Suspense API Wrapper to define Suspense Boundary to allow Lazy Load

  8. ProviderWrapper FC to provide Context value to all Subscribing children

  9. <RequireAuth> ↔ custom FC Wrapper to Declaratively control Protected Route via useAuth() & <Navigate\> from react-router-dom

  10. Wrapper Hell ↔ Deep nested Wrapper 🍜👨‍💻

  11. decorators ↔ to add Wrapper for Stories, for inline CSS || Context Provider

  12. <StrictMode\>Wrapper to define boundary for StrictMode API

  13. Suspense BoundaryComponent Hierarchy wrap by <Suspense\> to suspend render children with fallback until ready

  14. esbuild-wasmLibrary Hook Wrapper for ESBuild Web Assembly Module

  15. react-markdownReact Lib FC Wrapper to render MDX extends with plugins

  16. Synthetic EventWrapper over event object for xplat browser compat