Skip to content
View MakesCode's full-sized avatar
:octocat:
Love Code
:octocat:
Love Code

Highlights

  • Pro
Block or Report

Block or report MakesCode

Block user

Prevent this user from interacting with your repositories and sending you notifications. Learn more about blocking users.

You must be logged in to block users.

Please don't include any personal information such as legal names or email addresses. Maximum 100 characters, markdown supported. This note will be visible to only you.
Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned

  1. Implements dependency inversion in a... Implements dependency inversion in a React app using context, enabling flexible injection of various dependencies.
    1
    ```js
    2
    export type Dependencies = {
    3
      ProductRepository: IProductRepository
    4
    };
    5
    
                  
  2. This React component, ErrorSuspenseB... This React component, ErrorSuspenseBoundary, wraps its children with both an ErrorBoundary and a React.Suspense component to handle errors and loading states respectively.
    1
    ```js
    2
    interface ErrorBoundaryProps {
    3
      fallback: React.ReactNode;
    4
      children: React.ReactNode;
    5
    }