Skip to content
View Ne-eun's full-sized avatar

Block or report Ne-eun

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.

Maximum 250 characters. Please don't include any personal information such as legal names or email addresses. 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
Ne-eun/README.md

Pinned Loading

  1. Turborepo + Docker Turborepo + Docker
    1
    FROM node:16-alpine AS builder
    2
    RUN apk update
    3
    WORKDIR /app
    4
    RUN yarn global add turbo
    5
    COPY . .
  2. SSR에서 여러 api콜 병렬로 처리 + return 타입 고정 SSR에서 여러 api콜 병렬로 처리 + return 타입 고정
    1
    type OptionsDataType<T> = {
    2
      data: T
    3
      url: string
    4
      method: Method
    5
    }
  3. nextjs custom serverSideProps with auth nextjs custom serverSideProps with auth
    1
    import { GetServerSideProps, GetServerSidePropsContext } from 'next'
    2
    import axios from 'axios'
    3
    import { getToken } from 'utils'
    4
    
                  
    5
    export function serverSidePropsWithAuth(getServerSidePropsFunc?: GetServerSideProps) {
  4. _next/data 라우팅 hook으로 커스텀하기 _next/data 라우팅 hook으로 커스텀하기
    1
    import type { AppProps } from 'next/app'
    2
    
                  
    3
    function App({ pageProps, router }: AppProps) {
    4
    
                  
    5
      useInterceptNextDataHref({
  5. rxjs로 allSettled 구현하기 rxjs로 allSettled 구현하기
    1
    export class NetworkResultEntity<T> {
    2
      constructor(
    3
        public isSuccess: boolean,
    4
        public data: T | undefined,
    5
        public error: any,