Ohans Emmanuel

Results 15 issues of Ohans Emmanuel

Hi there! New to the library and was curious it supported screen recording. Specifically, can I limit a screen recording to just capture frames from a specific UIView e.g. ignoring...

question

## What is this PR about? 🤔 Export internal reducer and type for more ease and flexibility on the user's side. ## Changes 🎁 - [x] Exported internal reducer and...

## What is this PR about? 🤔 Allow user pass in their custom reducer as opposed to the internal reducer being used for state management ## Changes 🎁 - [x]...

## What is this PR about? 🤔 Manage internal state via useReducer. ## Changes 🎁 - [x] From `useState` to `useReducer` ## Before/After 📸 https://advanced-react-patterns-ultrasimplified.netlify.com/state-reducers ## Other comments 💬 Next...

## What is this PR about? 🤔 Make it possible for users to **initialise** and **reset** the internal state of the component ## Changes 🎁 - [x] Exposed a reset...

## What is this PR about? 🤔 From props collection to props getters. ## Changes 🎁 - [x] From `togglerProps` to `getTogglerProps` - [x] From `counterProps` to `getCounterProps` ## Before/After...

## What is this PR about? 🤔 For ease, provide props collection to be used with internal or user-defined UI elements/components. ## Changes 🎁 - [x] Created a `togglerProps` props...

## What is this PR about? 🤔 Break apart functionality from the component into smaller bits, reusable hooks. ## Changes 🎁 - [x] Created a `useClapState` hook to handle related...

## What is this PR about? 🤔 Expose a [controlled component](https://reactjs.org/docs/forms.html#controlled-components) API. ## Changes 🎁 - [x] Users can now pass control props for state **values** and state **updater**. ##...

## What is this PR about? 🤔 An API change with the Compound components pattern implemented. ## Changes 🎁 - [x] Create a context object to share state with all...