1
0
Fork 0
mirror of https://github.com/terribleplan/next.js.git synced 2024-01-19 02:48:18 +00:00
next.js/errors
HaNdTriX d1b67623f6 Throw error if getInitialProps is defined as as instance method (#4922)
* Throw error if getInitialProps is defined as as instance method

Omitting the static keyword happens pretty often. Therefore we should trigger a warning in devmode.

Closes: #4782

* Document getInitialProps error

* Add unit tests for loadGetInitialProps
2018-08-09 10:13:44 -07:00
..
build-dir-not-writeable.md Add check for writeable directory (#3370) 2017-12-02 18:13:39 +01:00
get-inital-props-as-an-instance-method.md Throw error if getInitialProps is defined as as instance method (#4922) 2018-08-09 10:13:44 -07:00
no-on-app-updated-hook.md Remove special error script handling (#3849) 2018-02-21 23:11:25 +05:30
url-deprecated.md Update "url deprecated" error docs with note re: React Dev Tools (#4652) 2018-06-22 23:23:10 +02:00