Size: a a a

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

2020 January 02

N

Nurdan in Next.js — русскоговорящее сообщество
как?😅, никогда не дебагал
источник

ВЛ

Владимир Линкевич in Next.js — русскоговорящее сообщество
подпишись на события роутера и посмотри что там происходит
источник

ВЛ

Владимир Линкевич in Next.js — русскоговорящее сообщество
я думаю проблема банальная какая то
источник

N

Nurdan in Next.js — русскоговорящее сообщество
Сначала роутер пушит на /someroute как по идее, потом резко редиректит в /?
источник
2020 January 03

G

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

- Add headers support to custom-routes: #9879

### Patches

- Fix with-next-offline example: #9900
- Remove example: #9910
- Fix User Error in Async API Endpoint: #9911

### Credits

Huge thanks to @ijjk, @SarKurd, and @timneutkens for helping!
источник

G

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

- Remove dynamic assetPrefix from docs: #9912
- Fix shadowing of apolloClient: #9917
- Update the docker multistage to copy only the necessary files: #9899
- Remove extra logging from on-demand-entries: #9909

### Credits

Huge thanks to @lfades, @hegelocampus, @areai51, and @ijjk for helping!
источник

JG

Jerry Green in Next.js — русскоговорящее сообщество
Ребят, такой необычный запрос: хочу задизайнить большой компонент из NextJS проекта как библиотеку. Чтобы можно было переиспользовать его между разными проектами. По сути, кастомный набор pages, со своими роутами (которому в идеале бы еще задать корневой роут, над которым компонент уже получит полную власть). Тут кто-то такое делал?
источник

ВЛ

Владимир Линкевич in Next.js — русскоговорящее сообщество
Ты хочешь прям вынести pages директорию в монореп?
источник

ВЛ

Владимир Линкевич in Next.js — русскоговорящее сообщество
Или идея компоненты пейджей вынести в монореп и кастомизации их?
источник

JG

Jerry Green in Next.js — русскоговорящее сообщество
Владимир Линкевич
Ты хочешь прям вынести pages директорию в монореп?
По сути, прям pages, потому что там внутренние компоненты есть, и использование Link. Т.е. прям существенная часть функциональности, вынесенная в компонент

Уже чую, что придется все-таки делить на несколько компонентов, избавляться от зависимости NextJS, и в каждом проекте все-таки делать свои pages, и в каждом импортить свой компонент. Но раздумываю, можно ли как-то адекватно и роутинг тоже туда запихать, абстрагировать от проектного кода) может кто-то тоже таким промышлял
источник

e

eeeMan in Next.js — русскоговорящее сообщество
просто скопируй файлы страниц) в чем проблема
источник

G

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

- Remove leftover symlink: 9e9c7ea393c925f97f4a6bc7360e08da0d1fd781
- Update contributing.md: 1546fcdcfd871cde1ffc0fce4ba9153c2786d0e2
- Enable catchAllRouting by default: #9922
источник

G

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

- Fix _app global css import order: #9836
- Examples Update global declaration of Apollo clients: #9923
- Fix New CSS Support Media Paths: #9916
- Tailwind example only run PurgeCSS in production: #9846
- Add descriptions to documentation pages: #9901

### Credits

Huge thanks to @IgorCRD, @lfades, and @sergiodxa for helping!
источник

G

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

G

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

- Experimental: Add headers support to custom-routes: #9879

### Patches

- Add handling for external redirects: #9764
- Fix error message typo: "Keys that need moved": #9772
- Update with-sentry example to not use sentry-testkit: #9777
- Update auth0 sample: bump dependencies and improve config management: #9778
- example Added AMP Google Analytics example: #9723
- Add parsing of route source during checking: #9787
- Updated packages for examples/with-typescript: #9791
- Update to close SSE connection before unload: #9798
- Update prerender test for Windows: #9800
- Prevent re-observing for an already prefetched page: #9644
- Fix source in electron build: #9802
- docs update custom-server-reasonml README to use create-next-app: #9792
- Fix relay URL: #9806
- Chore: fix typo of Unkown to Unknown: #9809
- New docs: #9301
- Turn on CSS support for config test: #9814
- with-react-intl Fix message extraction script on consecutive builds: #9788
- Add Specific Error for Function in PostCSS Config: #9815
- Add checking filesystem after each rewrite: #9568
- Update error checking for AMP validator tests: #9817
- Optimize Prefetching: #9818
- Fix/improve test for deduplication of tags with same key: #9793
- Experimental Move Babel transpile into a cached thread pool: #9331
- Fix IE11 Prefetching: #9823
- Fix Chrome-Only Tests: #9825
- Update yarn.lock: 3013c539b457710ae495ef798a4868b3a4fb1ac0
- Allow Empty API Body: #9838
- Add selenium-webdriver and testing cross-browser in PRs: #9821
- Allow Boolean API Response: #9842
- Do Not Run File Loader on Server: #9843
- Special Global CSS Error within node\_modules: #9849
- Expose CSS Issuer When Error: #9850
- Test Nested CSS Imports: #9855
- Register Created Bindings: #9864
- Fix bug in data-fetching.md's example: #9868
- Refactor Router#getInitialProps: #9853
- Experiment Add basePath support: #9872
- Add basePath to routes-manifest: #9875
- Update native-url for peerdep: #9882
- Update yarn.lock: fe1af7b38cfe555586bff4f4e2dcb11f20663342
- Update testing notes in contributing doc: #9878
- Refactor SSG Data Fetching: #9884
- Add test ensuring basePath is added to routes-manifest: #9885
- Add error for rewrite to auto-exported dynamic page: #9816
- Removed the custom configuration page: #9886
- Use Cached SSG Data on History Navigation: #9887
- Defer Loading CSS Configuration: #9889
- Support static export and server hosted build and update docs: #9783
- Fix Potential Duplication of Page Loading: #9894
- Ensure params in query are updated for custom-routes: #9797
- Revert version bump for routes-manifest: #9896
- Fix with-next-offline example: #9900
- Remove example: #9910
- Fix User Error in Async API Endpoint: #9911
- Remove dynamic assetPrefix from docs: #9912
- Fix shadowing of apolloClient: #9917
- Update the docker multistage to copy only the necessary files: #9899
- Remove extra logging from on-demand-entries: #9909
- Remove leftover symlink: 9e9c7ea393c925f97f4a6bc7360e08da0d1fd781
- Update contributing.md: 1546fcdcfd871cde1ffc0fce4ba9153c2786d0e2
- Enable catchAllRouting by default: #9922
- Fix _app global css import order: #9836
- Examples Update global declaration of Apollo clients: #9923
- Fix New CSS Support Media Paths: #9916
- Tailwind example only run PurgeCSS in production: #9846
- Add descriptions to documentation pages: #9901

### Credits

Huge thanks to @lachlanjc, @jrusso1020, @sandrinodimattia, @jamesmosier, @francismarcus, @codemonkey800, @jplew, @millette, @twumm, @lfades, @lostfictions, @ijjk, @Timer, @Manc, @developit, @konstantinmuenster, @timneutkens, @aganglada, @SarKurd, @hegelocampus, @areai51, @IgorCRD, and @sergiodxa for helping!
источник
2020 January 04

G

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

- Enable New Chunking Behavior: #9731

### Patches

- Add with-mobx-keystone-typescript example: #9844
- Test 3rd Party CSS Modules: #9924
- Fix get(Static|Initial)Props re-running when updating query: #9907
- Add a missing word to the Static Optimization doc: #9926
- Fixup the Static HTML Export doc: #9928
- Fix mistakes in the Custom Server doc: #9930
- Fix mistakes in the Deployment doc: #9925

### Credits

Huge thanks to @EvgeniyKumachev, @ijjk, and @cullylarson for helping!
источник

G

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

G

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

- Fix Safari Script Test Count: #9932
- Fix js template to be TS compatible: #9941
- Fix getting data in class based example: #9938
- Don't bundle prop-types to then tree shake it: #9944
- Remove experiment: #9945
- Remove async from void functions in page-loader: #9948
- Remove rewriteUrlForNextExport from bundles when option is not enabled: #9946

### Credits

Huge thanks to @Timer, @JerryGreen, @iwgx, and @timneutkens for helping!
источник
2020 January 05

ВА

Владимир Амосов in Next.js — русскоговорящее сообщество
Ребят, а как на zeit.co сделать 301 редирект с www на без www?
источник

PM

Preved Medved in Next.js — русскоговорящее сообщество
В now.json прописать route с редиректом
источник