-
Notifications
You must be signed in to change notification settings - Fork 136
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
Add initial implementation #1
Conversation
.eslintrc.js
Outdated
rules: { | ||
'no-unused-vars': [ | ||
'error', | ||
{vars: 'all', args: 'none', varsIgnorePattern: '^h$'}, |
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.
Is this meant to be here? I assume this has to do with JSX?
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.
I think it might be an old config. It seems to be a bad copy-paste from some preact thing. I'll get rid of it so it's consistent with other eslintrc's
!merge |
|
||
--- | ||
|
||
### API |
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.
Docs for HOC?
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.
Honestly I think we should maybe not document it at all. I'm not convinced we want to expose this interface
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.
my 2 cents: document, and if we change it, do it formally via a changelog/version bump
This fixes an issue where stack traces where pointing to a single `server-main.js` file, instead of respective source file in production logs. `cheap-*` devtool can not be used with minimizers, as it does not include column mappings (see [#1](https://github.com/webpack-contrib/terser-webpack-plugin#note-about-source-maps) [#2](webpack/webpack#4176 (comment)))
Resolves #2