Skip to content

Commit c38c84b

Browse files
authored
feat: support resetting the error state (#46)
Closes #26 Closes #15 Closes #34 BREAKING CHANGE: No longer support default FallbackComponent. BREAKING CHANGE: Codebase is no longer written in Flow so flowtypes are no longer available (currently).
1 parent 618cfde commit c38c84b

36 files changed

+970
-6944
lines changed

.babelrc

Lines changed: 0 additions & 53 deletions
This file was deleted.

.eslintignore

Lines changed: 0 additions & 7 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 18 deletions
This file was deleted.

.flowconfig

Lines changed: 0 additions & 13 deletions
This file was deleted.

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.github/ISSUE_TEMPLATE.md

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
<!--
2+
Thanks for your interest in the project. I appreciate bugs filed and PRs submitted!
3+
Please make sure that you are familiar with and follow the Code of Conduct for
4+
this project (found in the CODE_OF_CONDUCT.md file).
5+
6+
Please fill out this template with all the relevant information so we can
7+
understand what's going on and fix the issue.
8+
9+
I'll probably ask you to submit the fix (after giving some direction). If you've
10+
never done that before, that's great! Check this free short video tutorial to
11+
learn how: http://kcd.im/pull-request
12+
-->
13+
14+
- `react-error-boundary` version:
15+
- `node` version:
16+
- `npm` version:
17+
18+
Relevant code or config
19+
20+
```javascript
21+
```
22+
23+
What you did:
24+
25+
What happened:
26+
27+
<!-- Please provide the full error message/screenshots/anything -->
28+
29+
Reproduction repository:
30+
31+
<!--
32+
If possible, please create a repository that reproduces the issue with the
33+
minimal amount of code possible.
34+
-->
35+
36+
Problem description:
37+
38+
Suggested solution:

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
<!--
2+
Thanks for your interest in the project. Bugs filed and PRs submitted are appreciated!
3+
4+
Please make sure that you are familiar with and follow the Code of Conduct for
5+
this project (found in the CODE_OF_CONDUCT.md file).
6+
7+
Also, please make sure you're familiar with and follow the instructions in the
8+
contributing guidelines (found in the CONTRIBUTING.md file).
9+
10+
If you're new to contributing to open source projects, you might find this free
11+
video course helpful: http://kcd.im/pull-request
12+
13+
Please fill out the information below to expedite the review and (hopefully)
14+
merge of your pull request!
15+
-->
16+
17+
<!-- What changes are being made? (What feature/bug is being fixed here?) -->
18+
19+
**What**:
20+
21+
<!-- Why are these changes necessary? -->
22+
23+
**Why**:
24+
25+
<!-- How were these changes implemented? -->
26+
27+
**How**:
28+
29+
<!-- Have you done all of these things? -->
30+
31+
**Checklist**:
32+
33+
<!-- add "N/A" to the end of each line that's irrelevant to your changes -->
34+
<!-- to check an item, place an "x" in the box like so: "- [x] Documentation" -->
35+
36+
- [ ] Documentation
37+
- [ ] Tests
38+
- [ ] Ready to be merged
39+
<!-- In your opinion, is this ready to be merged as soon as it's reviewed? -->
40+
41+
<!-- feel free to add additional comments -->

.gitignore

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
.DS_Store
2-
build
1+
node_modules
32
coverage
43
dist
5-
node_modules
6-
npm-debug.log
7-
styles.css
8-
.vscode
9-
yarn-error.log
10-
.watchmanconfig
4+
.DS_Store
5+
6+
# these cause more harm than good
7+
# when working with contributors
8+
package-lock.json
9+
yarn.lock

.huskyrc.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
module.exports = require('kcd-scripts/husky')

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
registry=http://registry.npmjs.org/

0 commit comments

Comments
 (0)