Rustam Gilyaziev
e2b518525c
Update with-react-intl example ( #4825 )
...
Changes:
- added withIntl HOC because injectIntl do no hoist static methods
- fixed `Cannot read property 'locale' of undefined`
2018-07-24 00:43:57 +02:00
Tomek
822cc3c863
update with-react-intl example ( #4817 )
2018-07-22 01:37:25 +02:00
Michael Herold
5b3578e58f
#4751 - Explicitly mention install when cloning examples ( #4758 )
...
Preferably this installation wouldn't be necessary, but in lieu of a fix...
#4751
2018-07-11 23:56:15 +02:00
Tobi
905da6f92b
fixes bug in with-react-intl example: messages and locale variables were undefined on CSR ( #4517 )
2018-06-01 23:16:11 +02:00
James Hegedus
f2e56609cd
Examples: stabalise README format and create-next-app usage ( #4009 )
...
* Examples: clarify language around Yarn create & npx
* add missing READMEs and create-next-app usage
* suggest people tag jthegedus in firebase related issues
* add yarn alt instructions
* cerebraljs example readme & fixes
2018-04-03 14:19:05 +02:00
James Hegedus
b1d8b839dd
Examples: use npx and yarn create to run create-next-app on examples ( #4002 )
...
* remove global npm install of create-next-app
* add npx to create-next-app command in examples
* add bash to shell snippets
* add yarn create to next-app command in examples
* fix READMEs named with lowercase
* change READMEs to use UPPERCASE
2018-03-14 09:09:46 +01:00
Frank Dai
f046c0f6c2
Fixed the example with-react-intl, cannot read property 'locale' of undefined ( #3392 )
2018-02-02 20:13:05 +01:00
Tim Neutkens
24c1ac6ca9
Use canary for all example downloads ( #3411 )
2017-12-06 18:12:42 -08:00
Fouad Matin
2528779394
examples: add create-next-app ( #3377 )
...
* examples: add create-next-app
* fix with-typescript readme
2017-12-02 20:30:17 -08:00
Tomas Roos
629d0a261b
messages are availble within initialProps ( #3252 )
...
This has never been working, we based our intl + locale lookups out of this example and found out when translations wasn't working on page transitions due to the fact that messages gets set to undefined because its trying to destruct in the incorrect level
2017-11-08 20:37:52 +01:00
Tim Neutkens
47d3cfd0fd
Upgrade React for all examples ( #3113 )
2017-10-17 08:11:46 +02:00
Brikou CARRE
ba65b07dff
Ease running multiple examples at the same time with process.env.PORT ( #2753 )
2017-08-10 20:15:46 +02:00
Henrik
f14297dc80
Normalize example package.json files ( #2350 )
2017-06-23 10:46:44 +02:00
Felipe
db1ee2e161
Add Intl API polyfill in with-react-intl example ( #2283 )
...
* Add Intl API polyfill in with-react-intl example
* fix linting
2017-06-16 12:30:35 +02:00
Paul Molluzzo
d08e027a8c
Add deploy now button to the top of all example READMEs ( #1763 )
...
* Add deploy now button to the top of all example READMEs
* Remove unnecessary whitespace changes
2017-04-22 14:51:51 +02:00
Tim Neutkens
7f0591896a
Use latest version of Next for all examples ( #1597 )
...
* Use latest for all examples
* Update yarn.lock
2017-04-03 09:46:35 +05:30
Eric Ferraiuolo
e24db68f8b
Add example app with React Intl ( #1055 )
...
* Add example app with React Intl
Fixes #1022
* Update examples/with-react-intl/package.json to be consistent
2017-02-24 22:45:18 +01:00