- 21 9月, 2020 2 次提交
-
-
由 Ilya Lebedev 提交于
Because `import()` for .json files return object like this: ```json { "default": { "some": ... }, "some": ... } ``` ![image](https://user-images.githubusercontent.com/2598671/93468826-4156b200-f8f8-11ea-8e39-42df2df83057.png)
-
由 Ilya Lebedev 提交于
Invalid ordering in Promise.all and in receiving destruction. Now appProps receives result of polyfill(supportedLocale) call.
-
- 17 9月, 2020 1 次提交
-
-
由 Long Ho 提交于
fix #16752 cc @thuringia
-
- 14 9月, 2020 1 次提交
-
-
由 Jens Meindertsma 提交于
This uses the "Expand directories" feature introduces in Prettier 2.0 to automatically format all supported file types. Also, I fixed some badly formatted files.
-
- 01 9月, 2020 1 次提交
-
-
由 Long Ho 提交于
- Fix hashing algo for extraction so it's the same as babel config - Fix locale persistence issue fix #16689
-
- 30 8月, 2020 3 次提交
-
-
由 Jesse Jafa 提交于
Closes https://github.com/vercel/next.js/issues/16693
-
由 Joe Haddad 提交于
-
由 Jesse Jafa 提交于
-
- 28 8月, 2020 1 次提交
-
-
由 Long Ho 提交于
Changes: - Migrate to TypeScript. `react-intl` natively supports TypeScript now. - Upgrade corresponding `formatjs` packages. - Dynamically polyfill Intl API per locale since those polyfills are huge. - Migrate to recommended workflow per https://formatjs.io/docs/getting-started/application-workflow
-
- 31 7月, 2020 1 次提交
-
-
由 Jon Espen Kvisler 提交于
next-transpile-modules needs to be updated to support Next.js 9.5 Closes #15725
-
- 16 7月, 2020 1 次提交
-
-
由 Tanmay Laud 提交于
Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
- 16 6月, 2020 2 次提交
-
-
由 James Mosier 提交于
[In this Discussion](https://github.com/vercel/next.js/discussions/14220) it appears that trying to build the `with-react-intl` example with a Windows machine throws an error. So instead of using `execFileSync` to execute the command, I used [`cross-spawn` ](https://www.npmjs.com/package/cross-spawn) for better cross platform compatibility.
-
由 Darsh Patel 提交于
The example was using class-based component for custom _app, switched to functional component approach. **Sidenote:** The existing code didn't gave an error when navigated to a new page using the navbar ![Screenshot 2020-06-16 at 2 47 52 PM](https://user-images.githubusercontent.com/11258286/84760988-6cbebd80-afe6-11ea-9b7f-98aca7404895.png)
-
- 05 6月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
This removes a bunch of unnecessary `.gitignore`s and fixes some CMS examples that don't ignore `node_modules` etc.
-
- 02 6月, 2020 1 次提交
-
-
由 Joe Haddad 提交于
This updates old examples to the more universal `npx` command. Fixes https://github.com/vercel/next.js/discussions/12103
-
- 01 6月, 2020 1 次提交
-
-
由 Martin Bavio 提交于
This PR fixes https://github.com/vercel/next.js/issues/4883. It introduces a new global variable (`window.__REHYDRATE_IDS`) only when necessary. In the case of the `with-react-with-styles` example, rehydration isn't happening, so I removed the creation of the variable. In the case of the `with-react-intl` example, the information doesn't seem to be set anymore on `__NEXT_DATA__`, so I just removed the default reference to it.
-
- 28 5月, 2020 2 次提交
-
-
由 Joe Haddad 提交于
-
由 JJ Kasper 提交于
Co-authored-by: NJoe Haddad <joe.haddad@zeit.co>
-
- 22 5月, 2020 1 次提交
-
-
由 TodorTotev 提交于
Again, related to [12964](https://github.com/zeit/next.js/issues/12964) After checking all the other examples and the ongoing pull requests, I believe that with this PR being merged, all the examples should be free of redundant react imports. Let me know if you want me to edit anything that you don't like. Regards with-typescript with-atstroturf with-atlaskit with-styletron with-styled-components-rtl with-stylesheet with-stomp with-stitches-styled with-stitches with-slate with-sentry-simple with-sentry with-segment-analytics with-rematch with-relay-modern with-reflux with-redux-wrapper with-react-relay-network with-react-native with-react-multi-carousel with-react-jss with-react-helmet with-react-ga with-quill-js with-prefetching with-google-analytics-amp with-google-analytics with-framer-motion with-flow with-firebase-hosting with-firebase-cloud-messaging with-firebase-authentication with-expo with-dynamic-app-layout with-draft-js with-cxs with-cerebral with-ant-design-mobile with-algolia-react-instantsearch using-preact progressive-render
-
- 19 5月, 2020 2 次提交
-
-
由 Joe Haddad 提交于
-
由 Joe Haddad 提交于
-
- 02 5月, 2020 1 次提交
-
-
由 Jon Espen Kvisler 提交于
-
- 21 4月, 2020 1 次提交
-
-
由 Tim Neutkens 提交于
* Find/replace * Update more URLs * More rename * Fix remaining examples * More updates * Update create-next-app * Update remaining text * Update Co-authored-by: NShu Uesugi <shu@chibicode.com>
-
- 14 4月, 2020 1 次提交
-
-
由 Fabian Mastenbroek 提交于
* Add workaround for Intl.js RegEx issue This change adds a workaround for an issue with the Intl.js polyfill library where it instantiates an invalid regular expression. Relevant issues: https://github.com/andyearnshaw/Intl.js/issues/270 https://github.com/andyearnshaw/Intl.js/issues/256 https://github.com/andyearnshaw/Intl.js/issues/306 Until this issue is fixed upstream, we use a workaround in the example. Fixes: #11777 * Do not load Intl.js polyfill by default on Node This change updates the `with-react-intl` example to prevent it from polyfilling `Intl` in a Node environment when it is not needed.
-
- 06 4月, 2020 1 次提交
-
-
由 Fabian Mastenbroek 提交于
This change updates the README of the `react-intl` example to show how to use the FormattedHTMLMessage component from `react-intl` in Node environments when using pre-v4 versions.
-
- 25 2月, 2020 1 次提交
-
-
由 Shu Uesugi 提交于
* Replace zeit.co/new → zeit.co/import * Update deployment.md
-
- 13 2月, 2020 1 次提交
-
-
由 Shu Uesugi 提交于
* Find/Replace "Deploy it to the cloud..." * Find/Replace "Deploy it to the cloud..." (no colon) * Find/Replace "Deploy it to the cloud..." for firebase * Convert remaining ones * Storybook deployment * Update with-stripe-typescript * Update contributing.md * Remove `now` * Update examples/with-stripe-typescript/README.md Co-Authored-By: NLuis Alvarez D. <luis@zeit.co>
-
- 17 1月, 2020 1 次提交
-
-
由 Shu Uesugi 提交于
* npx create → npm init * Fix inconsistent instructions * Update amp-first * Update with-graphql-react * with-firebase-cloud-messaging * Update with-higher-order-component * change create-next-app url * Update create-next-app instruction * Update instructions to use npm instead of npx * Move "the idea behind the example" to top * Rename * Rename * Update contributing.md with a README template
-
- 24 12月, 2019 1 次提交
-
-
由 s 提交于
* Remove next folder before build in with-react-intl * Relax message id requirement in with-react-intl * @formatjs/cli instead of babel-plugin-react-intl * default-lang.js -> extract.js Co-authored-by: NJoe Haddad <timer150@gmail.com>
-
- 11 11月, 2019 1 次提交
-
-
由 Joe Haddad 提交于
* Update `packages/` * Update examples * Update tests * Update bench * Update top level files * Fix build * trigger
-
- 10 11月, 2019 1 次提交
-
-
由 Raymond 提交于
As long as node does not ship with fill-icu this will do the trick making FormattedRelativeTime work on nodejs. Other polyfill like @formatjs/intl-relativetimeformat/polyfill did not work on nodejs and thus giving an error that client did not match server.
-
- 26 10月, 2019 1 次提交
-
-
由 LadiesMan217 提交于
-
- 16 10月, 2019 1 次提交
-
-
由 Andreas Opferkuch 提交于
The call to `accept.languages()` made the fallback not work. When called e.g. with `Accept-Language: es-ES,es;q=0.9`, `locale` would contain `[ 'es-ES', 'es' ]` instead of `en`. (See also: https://www.npmjs.com/package/accepts#languagelanguages )
-
- 11 10月, 2019 1 次提交
-
-
由 Luis Alvarez D 提交于
-
- 16 9月, 2019 1 次提交
-
-
由 Lukáš Huvar 提交于
-
- 27 8月, 2019 1 次提交
-
-
由 Tage A. L. K 提交于
* Update dependencies > Update dependencies * Changes to make v3 work > Use hook `useIntl` instead of HOC `injectIntl` > Change use of class components > Changes to dependencies * Small changes Small changes
-
- 12 8月, 2019 1 次提交
-
-
由 Tim Neutkens 提交于
* Remove Container from examples * Update readme to reflect Container removal
-
- 29 5月, 2019 1 次提交
-
-
由 Tim Neutkens 提交于
* Run prettier over packages/**/*.js * Run prettier over packages/**/*.ts * Run prettier over examples * Remove tslint * Run prettier over examples * Run prettier over all markdown files * Run prettier over json files
-
- 28 5月, 2019 1 次提交
-
-
由 Matthew Sweeney 提交于
-
- 24 4月, 2019 1 次提交
-
-
由 Connor Davis 提交于
* Remove Deploy To Now buttons * Remove remaining buttons
-