bigpipe / react-jsx Goto Github PK
View Code? Open in Web Editor NEWCompile transform your JSX templates into a template engine that works client AND server side
License: MIT License
Compile transform your JSX templates into a template engine that works client AND server side
License: MIT License
Branch | Build failing 🚨 |
---|---|
Dependency | react-dom |
Current Version | 15.4.2 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
As react-dom is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪
React.createClass
. Points users to create-react-class instead. (@acdlite in d9a4fa4)React.PropTypes
. Points users to prop-types instead. (@acdlite in 043845c)ReactDOM
together with ReactDOMServer
. (@wacii in #9005)react-dom/test-utils
, which exports the React Test Utils. (@bvaughn)componentWillUnmount
was not called for children. (@gre in #8512)react-test-renderer/shallow
, which exports the shallow renderer. (@bvaughn)peerDependencies
so that addons continue to work indefinitely. (@acdlite and @bvaughn in 8a06cd7 and 67a8db3)React.createClass
and React.PropTypes
(@acdlite in 12a96b9)react-addons-test-utils
is deprecated. Use react-dom/test-utils
and react-test-renderer/shallow
instead. (@bvaughn)There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | assume |
Current Version | 1.5.1 |
Type | devDependency |
This version is covered by your current version range and after updating it in your project the build failed.
As assume is “only” a devDependency of this project it might not break production or downstream projects, but “only” your build or test tools – preventing new deploys or publishes.
I recommend you give this issue a high priority. I’m sure you can resolve this 💪
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
Branch | Build failing 🚨 |
---|---|
Dependency | babel-standalone |
Current Version | 6.19.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
As babel-standalone is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
react-tools is being deprecated. Can we upgrade this to use babel-standalone?
Strict mode code may not include a with statement in index.js 29:10.
im want do example in clinet-side
but, this example only server-side.
so i want import this 'react-jsx' like in client-side
<script src="../somepath/react-jsx.js></script>
is this possible??
(originally posted at apollographql/apollo-client#4312)
Intended outcome:
On a Mutation component, it seems that the block must begin on a new line after the start tag:
const Submit = props => <Mutation mutation={DELETE}>
{mDelete => (
<Mutation mutation={UPSERT}>
{mUpsert => (
<input type="submit" value="Submit Changes" style={{ float: 'right' }}
onClick={evt => submitAction({
evt, returnTo: props.setPage, mDelete, mUpsert, refetch: props.refetch,
})} />
)}
</Mutation>
)}
</Mutation>;
Actual outcome:
if the curly brace is placed immediately after the start tag, then a runtime error occurs:
<Mutation mutation={UPSERT}> {mUpsert => (...
Error:
index.js:1446 Warning: Failed prop type: Invalid prop
children
of typearray
supplied toMutation
, expectedfunction
.
in Mutation (at SubmitCancel.js:82)
Versions
System:
OS: macOS High Sierra 10.13.6
Binaries:
Node: 10.12.0 - /usr/local/bin/node
npm: 6.5.0 - /usr/local/bin/npm
Browsers:
Chrome: 71.0.3578.98
Safari: 12.0.2
npmPackages:
apollo-boost: ^0.1.22 => 0.1.22
react-apollo: ^2.3.2 => 2.3.2
Currently data provided by mixins has to be passed explicitly, it would be nice if this would inherit automatically to childs. E.g.
var React = require('react')
, ReactIntl = require('react-intl')
, Pagelet = require('pagelet')
Pagelet.extend({
view: 'view.jsx',
get: function get(render) {
var pagelet = this;
var Component = React.createClass({
mixins: [ReactIntl.IntlMixin],
render: function () {
// The offending (lack of) scope, passing this is
// required to get methods and data from the mixin.
return pagelet.template('./my-component.jsx', this);
}
});
return render(void 0, {
Component: Component,
intlData: { locale: 'us', messages: [{}] }
});
}
}).on(module);
Branch | Build failing 🚨 |
---|---|
Dependency | react-dom |
Current Version | 15.5.0 |
Type | dependency |
This version is covered by your current version range and after updating it in your project the build failed.
As react-dom is a direct dependency of this project this is very likely breaking your project right now. If other packages depend on you it’s very likely also breaking them.
I recommend you give this issue a very high priority. I’m sure you can resolve this 💪
There is a collection of frequently asked questions and of course you may always ask my humans.
Your Greenkeeper Bot 🌴
To see what happens to your code in Node.js 10, Greenkeeper has created a branch with the following changes:
.travis.yml
If you’re interested in upgrading this repo to Node.js 10, you can open a PR with these changes. Please note that this issue is just intended as a friendly reminder and the PR as a possible starting point for getting your code running on Node.js 10.
Greenkeeper has checked the engines
key in any package.json
file, the .nvmrc
file, and the .travis.yml
file, if present.
engines
was only updated if it defined a single version, not a range..nvmrc
was updated to Node.js 10.travis.yml
was only changed if there was a root-level node_js
that didn’t already include Node.js 10, such as node
or lts/*
. In this case, the new version was appended to the list. We didn’t touch job or matrix configurations because these tend to be quite specific and complex, and it’s difficult to infer what the intentions were.For many simpler .travis.yml
configurations, this PR should suffice as-is, but depending on what you’re doing it may require additional work or may not be applicable at all. We’re also aware that you may have good reasons to not update to Node.js 10, which is why this was sent as an issue and not a pull request. Feel free to delete it without comment, I’m a humble robot and won’t feel rejected 🤖
There is a collection of frequently asked questions. If those don’t help, you can always ask the humans behind Greenkeeper.
Your Greenkeeper Bot 🌴
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.