Skip to content
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

How can we disable checksumming and sanity checks? #4681

Closed
mufumbo opened this issue Aug 22, 2015 · 2 comments
Closed

How can we disable checksumming and sanity checks? #4681

mufumbo opened this issue Aug 22, 2015 · 2 comments

Comments

@mufumbo
Copy link

mufumbo commented Aug 22, 2015

This doesn't seem to be documented anywhere, but mentioned to be possible here:
#3009

There are any parameters, line of code we can change, etc?

Also, welcome are any other insight about things to disable to make the render process faster cpu wise?

@zpao
Copy link
Member

zpao commented Aug 22, 2015

There are no parameters or flags, it will involve basically forking React. This is why nothing is documented. It's really not worth it for us to guide you through this so I'll point you in the right direction and leave you to it.

For the checksum related stuff, look for uses of the ReactMarkupChecksum module.

As for disabling sanity checks, we have a bunch of invariants and other checks throughout the codebase. There's no 1 place to disable these. You would have to decide which ones are important and which aren't.

@zpao zpao closed this as completed Aug 22, 2015
@mufumbo
Copy link
Author

mufumbo commented Aug 22, 2015

thanks @zpao .

Will try to document it back here if we ever be able to make React + node useable for isomorphic applications that aren't just for demo purposes. I know at some point other people will be interested on this. Hope not too many people lose so much time like we're doing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants