1.0.12 • Published 9 months ago

react18-starter v1.0.12

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

Ryan's React18 Awesome Starter

Author License Last Commit

Features

  • ⚙️  Small & Fast Bundler (Vite)
  • 🗝️  Typed Programming (Typescript)
  • 🕋  Simple Store (Zustand)
  • 📙  Configure Formatter (ESLint + Prettier)
  • 🧵  Built-in Component & Layout
  • 🧩  High Order Component
  •   Setting Reset Style
  • ⚡️  Setting Style Set
  • 🗂️  Page Helmet SEO
  • 📍  Absolute Path
  • 📱  Check Device
  • 🪄  Theme Mode

Frameworks

  • Bundler : Vite
  • Core : React18
  • Store : Zustand

Code Structure

  • Static(public)
  • Root(src)
  •  components - atomic stateless components
  •  containers - stateful components
  •  constants - static resource
  •  interface - interfaces
  •  layouts - layouts
  •  router - routers
  •  libs - store, hooks, utils
  •  styles - style set

Getting Started

1) Installation

npx react18-starter my-project
cd my-project

2) Run development

npm run dev

Using with Style set

const Style = styled.div`
  // flex set(justify-content, align-items, flex-direction)
  ${({ theme }) => theme.flexSet('center', 'center', 'column')};

  // box set(width, height, border-radius)
  ${({ theme }) => theme.boxSet('00px', '00px', '00px')};

  // color set(color, background-color)
  ${({ theme }) => theme.colorSet('white', 'black')};

  // background set(url, object-fit)
  ${({ theme }) => theme.backgroundSet('URL','contain')};

  // font set(font-size, font-weight, line-height)
  ${({ theme }) => theme.fontSet(00, 000, 00)};
`
1.0.11

9 months ago

1.0.10

9 months ago

1.0.12

9 months ago

1.0.9

9 months ago

1.0.8

9 months ago

1.0.7

9 months ago

1.0.6

9 months ago

1.0.5

9 months ago

1.0.4

9 months ago

1.0.3

9 months ago

1.0.2

9 months ago

1.0.1

9 months ago