@mornya/react-helper

The project of React.js Helpers for development with less configuration.

Usage no npm install needed!

<script type="module">
  import mornyaReactHelper from 'https://cdn.skypack.dev/@mornya/react-helper';
</script>

README

React Helper

npm node types downloads license

The project of React.js Helpers for development with less configuration.

This project has been created by Vessel. For a simple and quick reference, click here.

About

React-Redux 및 미들웨어 필수적 애플리케이션 개발에 대한 헬퍼 라이브러리.
해당 라이브러리는 연구개발용이므로 프로덕션에서는 @ignitor 라이브러리를 사용한다.

Installation

해당 라이브러리를 사용 할 프로젝트에서는 아래와 같이 의존성 모듈로 설치한다.

npm install --save @mornya/react-helper
or
$ yarn add @mornya/react-helper

Modules in the package

본 패키지에는 아래와 같은 모듈들을 포함한다.
제공되는 모듈과 메소드 사용법 등은 코드 스니핏을 참고한다.

Ignite module

HMR, Redux, Redux Middleware, Service Worker 등의 설정을 간단하게 처리하는 모듈

LazyComponent module

React.lazy / React.Suspend를 이용하여 lazy component loading을 구현한 모듈

Module module

TypeScript 환경에서 Redux Thunk 미들웨어의 액션타입, 액션, 리듀서를 간략화 처리하기 위한 모듈이며, 리듀서는 기본적으로 immer.js 라이브러리를 사용한다.

ReduxStore module

Redux store 생성, 응용을 위한 메소드 제공

ReduxMockStore module

테스트 환경에서 Redux Store에 대한 mock store를 제공하기 위한 래핑 함수

Change Log

프로젝트 변경사항은 CHANGELOG.md 파일 참조.

License

프로젝트 라이센스는 LICENSE 파일 참조.