Skip to content

Commit

Permalink
feat: add promise support to <If /> component (fixes #53) (#111)
Browse files Browse the repository at this point in the history
  • Loading branch information
theo-js authored Sep 26, 2021
1 parent d85c679 commit 18bb83b
Showing 27 changed files with 14,311 additions and 13,641 deletions.
110 changes: 26 additions & 84 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
@@ -3,9 +3,7 @@
"projectOwner": "romac",
"repoType": "github",
"repoHost": "https://github.com",
"files": [
"README.md"
],
"files": ["README.md"],
"imageSize": 100,
"commit": true,
"commitConvention": "angular",
@@ -15,189 +13,133 @@
"name": "Romain Ruetschi",
"avatar_url": "https://avatars2.githubusercontent.com/u/106849?v=4",
"profile": "https://romac.me/",
"contributions": [
"code",
"doc",
"example",
"ideas",
"infra",
"maintenance",
"projectManagement",
"review",
"question",
"test"
]
"contributions": ["code", "doc", "example", "ideas", "infra", "maintenance", "projectManagement", "review", "question", "test"]
},
{
"login": "Favna",
"name": "Jeroen Claassens",
"avatar_url": "https://avatars3.githubusercontent.com/u/4019718?v=4",
"profile": "https://favware.tech/",
"contributions": [
"code",
"doc",
"example",
"infra",
"maintenance",
"projectManagement",
"review",
"question",
"test"
]
"contributions": ["code", "doc", "example", "infra", "maintenance", "projectManagement", "review", "question", "test"]
},
{
"login": "cyrilchapon",
"name": "Cyril CHAPON",
"avatar_url": "https://avatars1.githubusercontent.com/u/10728426?v=4",
"profile": "https://github.com/cyrilchapon",
"contributions": [
"code",
"doc",
"test"
]
"contributions": ["code", "doc", "test"]
},
{
"login": "timjacobi",
"name": "Tim Jacobi",
"avatar_url": "https://avatars2.githubusercontent.com/u/2023165?v=4",
"profile": "http://twitter.com/tim_jacobi",
"contributions": [
"code",
"doc",
"test"
]
"contributions": ["code", "doc", "test"]
},
{
"login": "meszaros-lajos-gyorgy",
"name": "Lajos György Mészáros",
"avatar_url": "https://avatars3.githubusercontent.com/u/2386064?v=4",
"profile": "https://github.com/meszaros-lajos-gyorgy",
"contributions": [
"code",
"doc"
]
"contributions": ["code", "doc"]
},
{
"login": "Rleahy22",
"name": "Ryan Leahy",
"avatar_url": "https://avatars2.githubusercontent.com/u/3144003?v=4",
"profile": "https://github.com/Rleahy22",
"contributions": [
"code",
"doc"
]
"contributions": ["code", "doc"]
},
{
"login": "pronebird",
"name": "Andrej Mihajlov",
"avatar_url": "https://avatars2.githubusercontent.com/u/704044?v=4",
"profile": "https://github.com/pronebird",
"contributions": [
"platform",
"code"
]
"contributions": ["platform", "code"]
},
{
"login": "ejbp",
"name": "While True",
"avatar_url": "https://avatars0.githubusercontent.com/u/2060105?v=4",
"profile": "https://github.com/ejbp",
"contributions": [
"bug",
"code"
]
"contributions": ["bug", "code"]
},
{
"login": "TeffenEllis",
"name": "Teffen Ellis",
"avatar_url": "https://avatars3.githubusercontent.com/u/592134?v=4",
"profile": "https://nirri.us/",
"contributions": [
"projectManagement",
"code"
]
"contributions": ["projectManagement", "code"]
},
{
"login": "Mamoru1234",
"name": "Alexei Gontar",
"avatar_url": "https://avatars2.githubusercontent.com/u/11805198?v=4",
"profile": "https://github.com/Mamoru1234",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "melyourhero",
"name": "Dmitry Melnik",
"avatar_url": "https://avatars3.githubusercontent.com/u/11873817?v=4",
"profile": "https://github.com/melyourhero",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "eropple",
"name": "Ed Ropple",
"avatar_url": "https://avatars2.githubusercontent.com/u/109262?v=4",
"profile": "https://github.com/eropple",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "gradosevic",
"name": "Goran Radosevic",
"avatar_url": "https://avatars2.githubusercontent.com/u/10562516?v=4",
"profile": "https://github.com/gradosevic",
"contributions": [
"doc"
]
"contributions": ["doc"]
},
{
"login": "Haroenv",
"name": "Haroen Viaene",
"avatar_url": "https://avatars3.githubusercontent.com/u/6270048?v=4",
"profile": "https://haroen.me/",
"contributions": [
"doc"
]
"contributions": ["doc"]
},
{
"login": "martijnthe",
"name": "Martijn Thé",
"avatar_url": "https://avatars3.githubusercontent.com/u/193881?v=4",
"profile": "http://www.martijnthe.nl/",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "artcoding-git",
"name": "artcoding-git",
"avatar_url": "https://avatars0.githubusercontent.com/u/20770507?v=4",
"profile": "https://github.com/artcoding-git",
"contributions": [
"doc"
]
"contributions": ["doc"]
},
{
"login": "Ako520",
"name": "王天博",
"avatar_url": "https://avatars3.githubusercontent.com/u/22900569?v=4",
"profile": "https://github.com/Ako520",
"contributions": [
"bug",
"code"
]
"contributions": ["bug", "code"]
},
{
"login": "Arcath",
"name": "Adam Laycock",
"avatar_url": "https://avatars1.githubusercontent.com/u/19609?v=4",
"profile": "https://arcath.net/",
"contributions": [
"code"
]
"contributions": ["code"]
},
{
"login": "theo-js",
"name": "Theo B.",
"avatar_url": "https://avatars.githubusercontent.com/u/58733465?v=4",
"profile": "https://github.com/theo-js",
"contributions": ["code"]
}
],
"contributorsPerLine": 7
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -15,7 +15,7 @@ coverage/
# Ignore output folders
dist/
docs/
.cache/
.parcel-cache/

# Ignore JavaScript files
**/*.js
@@ -26,6 +26,7 @@ docs/
**/*.tsbuildinfo
!jest.config.js
!.prettierrc.js
!demo/tailwind.config.js

# Ignore heapsnapshot and log files
*.heapsnapshot
14 changes: 6 additions & 8 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -4,27 +4,25 @@ All notable changes to this project will be documented in this file. See [standa

### [4.0.1](https://github.com/romac/react-if/compare/v4.0.0...v4.0.1) (2020-10-21)


### ⚠ BREAKING CHANGES

* **readme:** As part of the rewrite, the global exports are gone.
Please use CommonJS or ESM style imports as specified in the README.
- **readme:** As part of the rewrite, the global exports are gone.
Please use CommonJS or ESM style imports as specified in the README.

### Bug Fixes

* **readme:** update shields ([d975fd4](https://github.com/romac/react-if/commit/d975fd44b737caff913725905abe316a02097236))
- **readme:** update shields ([d975fd4](https://github.com/romac/react-if/commit/d975fd44b737caff913725905abe316a02097236))

## [4.0.0](https://github.com/romac/react-if/compare/v3.4.3...v4.0.0) (2020-10-21)


### ⚠ BREAKING CHANGES

* As part of the rewrite, the global exports are gone. Please use CommonJS or ESM
style imports as specified in the README.
- As part of the rewrite, the global exports are gone. Please use CommonJS or ESM
style imports as specified in the README.

### Features

* rewrite entire lib from scratch ([9f93221](https://github.com/romac/react-if/commit/9f93221999e23bc39db98575aa72e245935ccb6d)), closes [#55](https://github.com/romac/react-if/issues/55) [#57](https://github.com/romac/react-if/issues/57)
- rewrite entire lib from scratch ([9f93221](https://github.com/romac/react-if/commit/9f93221999e23bc39db98575aa72e245935ccb6d)), closes [#55](https://github.com/romac/react-if/issues/55) [#57](https://github.com/romac/react-if/issues/57)

## 3.4.3 (2019-06-17)

Loading

0 comments on commit 18bb83b

Please sign in to comment.