-
Notifications
You must be signed in to change notification settings - Fork 2.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Removed setState from util #1454
Conversation
Fixed typo
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! Can you also remove all instances of safeRenderCompletion
since it no longer has an effect?
Actually, |
@epicfaace good catch. I removed
|
@epicfaace not sure why Travis build agents are failing -- all tests pass locally for me (Windows + WSL). |
Can you merge the latest |
Merge in upstream master
@epicfaace I actually have quite a few test failures (locally) once I've merged in master (node v10.16.0)... If only node v6 is failing, I don't think it's too much of a big deal as it's at EOL (https://raw.githubusercontent.com/nodejs/Release/master/schedule.svg?sanitize=true)? I recall getting random issues with node v6 at work and I pretty much just gave up trying to support it and changed all pipelines to only use v10 ;) Also, shouldn't the pipeline be building/testing the attempted merge (i.e. the projected state with master + feature)? I don't really get how the PR build produced a failure when neither master nor the feature branch without master failed... Anyway, here are some of the failures I'm seeing locally now (in master and now my branch which has master):
|
If Node 6 is out of support, rjsf should at least support Node 8+. Is there any benefit to supporting 6? With @epicfaace most recent commit onto master the only issue I can see is on Node 6 with an
For clarification, are you using node 6 with these errors? |
Master is failing, although not with the errors you mentioned. Master failed in the first place because I cherry-picked #1408 from |
Yeah, I think you're right. It was preferable to keep support for Node 6 in 1.x to keep backwards compatibility, but at this point we can change it to Node 8+. |
I'll go ahead and submit a PR then. |
@@ -14,7 +14,7 @@ export function createComponent(Component, props) { | |||
} | |||
|
|||
export function createFormComponent(props) { | |||
return createComponent(Form, { ...props, safeRenderCompletion: true }); | |||
return createComponent(Form, { ...props }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
return createComponent(Form, { ...props }); | |
return createComponent(Form, props); |
Thanks @mirajp ! |
Removed setSstate from util
Reasons for making this change
From #1297:
Checklist