csvenke / react-semantic-render Goto Github PK
View Code? Open in Web Editor NEWSemantic helper components for rendering content with React.
Home Page: https://www.npmjs.com/package/react-semantic-render
License: MIT License
Semantic helper components for rendering content with React.
Home Page: https://www.npmjs.com/package/react-semantic-render
License: MIT License
This happens with webpack
Rename resolve component to something better and add child components as an option.
Shorthand props should also work, child components take precedence and shorthand props should be ignored.
For how to handle multiple custom components in children, see Switch component for reference.
Here are some of my ideas:
<Show async when={aPromise}>
<Show.Pending
render={() => <div>Loading...</div>}
/>
<Show.Resolved
render={value => <div>Success!</div>}
/>
<Show.Rejected
render={error => <div>Failure!</div>}
/>
</Show>
Find a way to automatically generate flow types from the allready generated typescript definition files.
23.1.4
to 23.10.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
ts-jest is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
ts-jest
, reloaded!ts-jest
Slack community where you can find some instant helpjest
, typescript
and babel
versionsThe new version differs by 293 commits.
0e5ffed
chore(release): 23.10.0
3665609
Merge pull request #734 from huafu/appveyor-optimizations
45d44d1
Merge branch 'master' into appveyor-optimizations
76e2fe5
ci(appveyor): cache npm versions as well
191c464
ci(appveyor): try to improve appveyor's config
0f31b42
Merge pull request #733 from huafu/fix-test-snap
661853a
Merge branch 'master' into fix-test-snap
aa7458a
Merge pull request #731 from kulshekhar/dependabot/npm_and_yarn/tslint-plugin-prettier-2.0.0
70775f1
ci(lint): run lint scripts in series instead of parallel
a18e919
style(fix): exclude package.json from tslint rules
011b580
test(config): stop using snapshots for pkg versions
7e5a3a1
build(deps-dev): bump tslint-plugin-prettier from 1.3.0 to 2.0.0
fbe90a9
Merge pull request #730 from kulshekhar/dependabot/npm_and_yarn/@types/node-10.10.1
a88456e
build(deps-dev): bump @types/node from 10.9.4 to 10.10.1
54fd239
Merge pull request #729 from kulshekhar/dependabot/npm_and_yarn/prettier-1.14.3
There are 250 commits in total.
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
Map is in hindsight not very semantic, and List feels much more natural.
<List
items={[1,2,3}
render={item => (<div>{item}</div>)}
/>
1.18.0
to 1.19.0
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
rollup is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 6 commits.
9af119d
1.19.0
b3f361c
Update changelog
456f4d2
Avoid variable from empty module name be empty (#3026)
17eaa43
Use id of last module in chunk as name base for auto-generated chunks (#3025)
871bfa0
Switch to a code-splitting build and update dependencies (#3020)
2443783
Unified file emission api (#2999)
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
This results in error: 'Cannot read asd of undefined'
const result = undefined;
<Show
when={!!result}
render={() => <span>{result.label}</span>}
/>
This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.
These updates are currently rate-limited. Click on a checkbox below to force their creation now.
@babel/core
, @babel/preset-env
, @babel/preset-react
)actions/download-artifact
, actions/upload-artifact
)These updates have all been created already. Click a checkbox below to force a retry/rebase of any.
@commitlint/cli
, @commitlint/config-conventional
)@types/jest
, babel-jest
, jest
)react
, react-dom
, react-test-renderer
)@semantic-release/commit-analyzer
, @semantic-release/git
, @semantic-release/github
, @semantic-release/npm
, @semantic-release/release-notes-generator
).github/workflows/master-workflow.yml
actions/checkout v2
actions/setup-node v1
actions/upload-artifact v1
actions/checkout v2
actions/setup-node v1
actions/download-artifact v1
.github/workflows/pull-request-workflow.yml
actions/checkout v2
actions/setup-node v1
actions/labeler v2
package.json
prop-types 15.8.1
@babel/core 7.23.9
@babel/preset-env 7.23.9
@babel/preset-react 7.23.3
@commitlint/cli 8.3.6
@commitlint/config-conventional 8.3.6
@csvenke/prettier-config 3.0.0
@semantic-release/commit-analyzer 8.0.1
@semantic-release/git 9.0.1
@semantic-release/github 7.2.3
@semantic-release/npm 7.1.3
@semantic-release/release-notes-generator 9.0.3
@types/jest 26.0.24
@types/node 13.13.52
babel-core 7.0.0-bridge.0
babel-jest 25.5.1
babel-preset-env 1.7.0
babel-preset-react 6.24.1
husky 4.3.8
jest 25.5.4
lint-staged 10.5.4
prettier 2.2.1
react 16.14.0
react-dom 16.14.0
react-test-renderer 16.14.0
rollup 2.79.1
rollup-plugin-babel 4.4.0
rollup-plugin-replace 2.2.0
rollup-plugin-terser 7.0.2
semantic-release 17.4.7
react ^16.13.1
react-dom ^16.13.1
4.19.0
to 4.19.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
webpack is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
import()
with target: "electron-main"
uses correct path separator on windowsdevtool: "source-map"
and variants generate SourceMaps when output file is .mjs
browser
field as object is used when using target: "electron-renderer"
export default
are preservedexternals
value, now works correctly as documentedThe new version differs by 15 commits.
b7121c1
4.19.1
ab28497
Merge pull request #8043 from RubenVerborgh/externals-object-array
9bda629
remove bad unit test
f0271d9
fix ExternalModule and test case
3aef0e5
Allow array as value in externals object.
7b91fa6
Merge pull request #8042 from webpack/bugfix/comments-export-default
e08f71c
keep/restore comments in export default
2f78aae
Merge pull request #8038 from sharang-d/patch-5
bb4c2d1
Correctly set the 'browser' value for electron-renderer
5ade574
Merge pull request #7947 from philipwalton/mjs-sourcemap-support
5258471
Merge pull request #8035 from kwonoj/fix-path
2df7b0c
fix(nodemaintemplate): resolve async chunk path platform agnostic
17fafd3
Fix lint errors
a2cc031
Add tests for default source map extensions
12762ff
Add sourcemap support for .mjs output files
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
This code
import ShowAsync from 'react-semantic-render/ShowAsync'
const rejectable = () => {
return new Promise((_, reject) => {
reject();
})
}
<ShowAsync
when={rejectable()}
rejected={() => <div>something went wrong</div>
/>
Leads to this
(node:4792) UnhandledPromiseRejectionWarning: Unhandled promise rejection.
This error originated either by throwing inside of an
async function without a catch block, or by rejecting a promise
which was not handled with .catch(). (rejection id: 1)
7.14.0
to 7.14.1
.π¨ View failing branch.
This version is covered by your current version range and after updating it in your project the build failed.
eslint-plugin-react is a devDependency of this project. It might not break your production code or affect downstream projects, but probably breaks your build or test tools, which may prevent deploying or publishing.
The new version differs by 3 commits.
62255af
Update CHANGELOG and bump version
655eb01
Merge pull request #2320 from golopot/issue-2319
9639d82
[Fix] prop-types
: fix crash on multiple destructuring
See the full diff
There is a collection of frequently asked questions. If those donβt help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot π΄
There is an error with this repository's Renovate configuration that needs to be fixed. As a precaution, Renovate will stop PRs until it is resolved.
Error type: undefined. Note: this is a nested preset so please contact the preset author if you are unable to fix it yourself.
Would be nice if you could import only the components you need.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
π Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. πππ
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google β€οΈ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.