This repository hosts react-easy-edit, a small React 18 library that provides inline editing components.
- Use
yarnfor all scripts. Install dependencies withyarnand run tests withyarn test. - Ensure unit tests pass by running
yarn testbefore committing. The tests are located insrc/lib. - For coverage reports you can run
yarn coverage. Building the library is done viayarn build. - Please add or update tests whenever you introduce a new feature or fix a bug.
- Keep commit titles short and descriptive.
- Reference the related GitHub issue in parentheses, e.g.
Fix checkbox value (#123).
- Summarise the main changes in the PR description and mention any related issues.
- Include the output of
yarn test(or note if tests fail due to environment issues).
- The project uses ES6 syntax with semicolons and single quotes. Look at files in
src/libfor examples. - Components live in
src/lib; thesrc/demofolder contains usage examples.
Be mindful of the Code of Conduct and review CONTRIBUTING.md for additional information.