Repo ini digunakan untuk menunjukkan contoh penggunaan pola render props di react.
Repo ini dibuat sebagai pelengkap dari tulisan Medium ini: Mengenal dengan Render Prop di React | Medium
File-file yang digunakan bisa ditemukan di ./src/client/routes/Home
Repo ini dibuat dengan boilerplate ini
yarn
untuk install dependencies- Copy
.env.example
dan beri nama.env
yarn dev
untuk menjalankan di localhost
This repo is used to demonstrate the usage of the render props pattern in react.
This repo is made for this Medium article:
Understand Render Prop in React | Medium
The files used can be found in ./src/client/routes/Home
Made with this boilerplate
- First type
yarn
to install dependencies - Create a copy of
.env.example
and name it.env
- Type
yarn dev
to startwebpack-serve
on your localhost