Size: a a a

Next.js — русскоговорящее сообщество

2019 July 10

А

Андрей in Next.js — русскоговорящее сообщество
getInitialProps только у страниц есть же, да?
источник

DL

Dmitry Lebedev in Next.js — русскоговорящее сообщество
Андрей
getInitialProps только у страниц есть же, да?
+
источник
2019 July 11

NB

Not Dan, But... in Next.js — русскоговорящее сообщество
Хей, у меня на клиенте спокойно рисуется dangerouslySetInnerHTML, но с сервера ничего не приходит в лэйауте
Куда копать? Все ишью только 15 года
источник

G

Github Releases Notify Bot in Next.js — русскоговорящее сообщество
zeit/next.js
Pre-release v9.0.1-canary.2
### Patches

- Title may be omitted: #7865
- Update typescript examples: #7867
- Remove with-styled-components Auto Prerendering warning: #7871
- Add default values for runtime config: #7847
- Add a dev2 command: 70b8bed4ad7f5249feb96cc940625fc35eee4653
- Handle empty directory: #7876
- Test for <Document> fragment styles: #7875
- Fix placeholder values being added when exporting from serverless: #7883
- Stop PageConfig plugin from running on non-pages: #7884
- exportPathMap dynamic routes params fix: #7846
- Add declaration files to the contributing guide: #7885
- Add support for legacy server npm modules: #7898
- Improve exported router types: #7853
- Adding a note about babelrc: #7897
- Export types for link props: #7905

### Credits

Huge thanks to @lfades, @timReynolds, @ijjk, @timneutkens, @huv1k, and @aequasi for helping!
источник

G

Github Releases Notify Bot in Next.js — русскоговорящее сообщество
zeit/next.js
v9.0.1
источник

G

Github Releases Notify Bot in Next.js — русскоговорящее сообщество
zeit/next.js
v9.0.1
### Patches

- Link invalid-resolve-alias as it is being linked in the codebase: 18abc98257fce1fe86b46355db8027634f7e7ad0
- Copy invalid-resolve-alias as it is being linked in the codebase: bb2ae41a265df2b2bd8f264fcfc699127d95b49c
- Further clarification that api routes should be inside the page…: #7780
- Note TypeScript migration: #7787
- Update CODEOWNERS: a0bcdd87c0c04d9875ce8aefbae6a257942164ae
- Update remaining CODEOWNERS: a164a70c727bf1fde12fe8a403278df4a1c74ca7
- Remove previous cache logic: #7794
- Set cancelled property on routeChangeError error: #7790
- Upgrade to webpack with latest acorns: #7795
- Example for GraphQL server with API routes: #7804
- Switch all examples to next@latest: #7806
- Add API tests to serverless: #7774
- Fix package count being zero in some cases: #7812
- Make recursiveReadDir return sorted array: #7658
- Update to always require next/config when setting config: #7822
- Improve NextApiResponse typing: #7841
- Add a test for module.exports from a page: #7842
- Add test for trailing slash on API route: #7851
- Fix terminal links (cmd-click) on VSCode: #7849
- Add UrlObject to router methods: #7859
- Allow React.Fragment for Document styles: #7863
- Title may be omitted: #7865
- Update typescript examples: #7867
- Remove with-styled-components Auto Prerendering warning: #7871
- Add default values for runtime config: #7847
- Add a dev2 command: 70b8bed4ad7f5249feb96cc940625fc35eee4653
- Handle empty directory: #7876
- Test for <Document> fragment styles: #7875
- Fix placeholder values being added when exporting from serverless: #7883
- Stop PageConfig plugin from running on non-pages: #7884
- exportPathMap dynamic routes params fix: #7846
- Add declaration files to the contributing guide: #7885
- Add support for legacy server npm modules: #7898
- Improve exported router types: #7853
- Adding a note about babelrc: #7897
- Export types for link props: #7905

### Credits

Huge thanks to @delbaoliveira, @ijjk, @huv1k, @admons, @VincentCordobes, @barry4dev, @lfades, @timReynolds, @timneutkens, and @aequasi for helping!
источник
2019 July 12

EM

Eugene M in Next.js — русскоговорящее сообщество
Next.js 9 replaces typeof window with its appropriate value (undefined or object)
источник

EM

Eugene M in Next.js — русскоговорящее сообщество
а process.browser оно же тоже меняло?
источник

EM

Eugene M in Next.js — русскоговорящее сообщество
раньше
источник

EM

Eugene M in Next.js — русскоговорящее сообщество
апдейт 8.1 -> 9.1 на удивление прошел отлично
источник

Z

Zae in Next.js — русскоговорящее сообщество
а какие там breaking changes?
источник

Z

Zae in Next.js — русскоговорящее сообщество
только typeof window?
источник

EM

Eugene M in Next.js — русскоговорящее сообщество
та это не брейкинг чейндж)
источник

EM

Eugene M in Next.js — русскоговорящее сообщество
zeit/next.js
v9.0.0
### Major

- Remove withAmp and do not expose isInAmpMode: #7690


### Minor

- Add Typescript compilation: #7110
- Add support for /public: #7213
- Add  API routes support: #7296
- Make next/dynamic loading component return null by default: #7695
- Automatic static optimization: #7666

### Patches

- Add declaration files to /dist: #7118
- Updated broken test in Windows: #7124
- Add AMP label to AMP only pages in build tree: #7123
- More Specific Info on Script Loading Error: #7108
- Make next export respect experimental.exportTrailingSlash: #6752
- Add more TypeScript types: #7054
- Rewrote .circleci/config.yml to 2.1 schema: #7103
- Wait for entry to resolve in production build: #7104
- Fix: add repository to next-server package.json: #7105
- Update types for with-router: #7106
- Replace the typescript compiler with @babel/preset-typescript: #7016
- Revert "Detect built ins in externals " (#7107): #7083
- Update removing AMP pages to not require during build: #7081
- Make styles compatible in AMP mode: #7060
- Cache Babel and AutoDll plugin in dirDir/cache: #7102
- Remove un-needed config from example: #7055
- Update AMP example: #7056
- Update AMP example to AMP-first wording: 549965282045beda0cf0b31823b35a13014a0d6b
- Update dependency to fix with-next-page-transitions example: #7049
- Add test for /dashboard/index: #7065
- With-apollo example: explicitly pass fetch to HttpLink: #7072
- Update fela example: #7051
- Disable Terser loader when debugging: #7079
- Fix broken link: #7087
- Upgrade with-reasonml example to Reason React 0.7 and JSX 3: #7078
- Update the recommendation section in examples/with-reasonml: #7089
- Run optimizer after validating in dirty AMP mode: #7063
- Detect built ins in externals: #7083
- Move react-ssr-prepass import inside of: #7095
- Export 404 even if undefined in exportPathMap: #6912
- Remove dynamic-import-node from the preset: #7096
- Update to share HMR and ondemand SSE connection: #7084
- Upgrade Terser: #6981
- Upgrade amp-optimizer to 0.5.3: #7134
- Add .d.ts for next-server: #7133
- Always use AllModulesIdentifiedPlugin after HashedModuleIdsPlugin: #7138
- TypeScript preset should always be enabled: #7137
- Remove old debugging logs: #7139
- A webpack bug is preventing us from hashing chunks: #7142
- Don't re-use the same page file for error-recovery tests: #7144
- Add --target serverless flag: #7141
- Move generating types to before deploy: #7145
- Replace --target serverless with env var: #7146
- Move type generating: #7147
- Remove list_dist from debugging: #7148
- Remove type defs for non-ts files and fix wrong import for router in _app: #7150
- Add stale-while-revalidate when no getInitialProps: #7149
- Update to render directly to body in AMP mode: #7151
- Add support for .ts / .tsx import without extension: #7152
- Add missing property types for styled-jsx: #7154
- Add types for next/dynamic: #7157
- Add types for next/link: #7160
- Add missing .d.ts for next/dynamic: #7158
- Add warning for @zeit/next-typescript: #7163
- Prefer type over interface: #7164
- Reduce CircleCI Parallelism: #7171
- Run Prettier on webpack configuration: #7172
- Don't resolve ts|tsx for non-TypeScript users: #7173
- Update Prettier configuration: 00e8ba49819274564249cb55950841b3555d5929
- Add types for getInitialProps: #7162
- Make sure to 404 for AMP client bundles in dev mode: #7183
- Update cache-control header when no getInitialProps: #7185
- Improve contributing guide: #7186
- Fix missing webpack buildin: #7187
- Allow _app and _document to be extended with other props: #7184
- Make sure not to require react before NODE_ENV has been set: #7200
- Browserstack optimisations: #7201
- Make sure Cache-Control header is set when no getInitialProps: #7202
- Fix firefox bug with detecting instanceof Promise in dynamic: #7203
- Add theme to styled-components example: #7206
источник
2019 July 14

w

westfalsky 🚀 in Next.js — русскоговорящее сообщество
привет
использую next+flow, но типы NextPageContext / NextPage не вытягиваются, кто-нибудь сталкивался?
источник

AS

Arthur Saenz in Next.js — русскоговорящее сообщество
westfalsky 🚀
привет
использую next+flow, но типы NextPageContext / NextPage не вытягиваются, кто-нибудь сталкивался?
Что такое NextPageContext?
источник

w

westfalsky 🚀 in Next.js — русскоговорящее сообщество
Arthur Saenz
Что такое NextPageContext?
type
источник

AS

Arthur Saenz in Next.js — русскоговорящее сообщество
Ок, понял, спс
источник
2019 July 15

h

handleChange in Next.js — русскоговорящее сообщество
ребята, кто как подключает process env в фронт некста?
источник

VI

Vadim Ilchenko in Next.js — русскоговорящее сообщество
handleChange
ребята, кто как подключает process env в фронт некста?
через runtimeConfig
источник