@ablogcms/react-utils
v3.2.35
Published
React helpers (mount/unmount, ref merging, DOM attribute-to-props conversion) for the a-blog cms admin frontend
Keywords
Readme
@ablogcms/react-utils
管理画面フロントエンド共通の React ヘルパー(DOM へのマウント/アンマウント、ref の合成、
dataset/attributes から props への変換)を提供するパッケージ。@ablogcms/utils から
React に依存する部分だけを切り出したもの。
使い方
import { render, handleRef, datasetToProps, attributesToProps, nl2br } from '@ablogcms/react-utils';
const root = render(<App />, container);