Miguel Cast
1bddb118bc
Example/add react-with-styles example ( #2417 )
...
* Example/add react-with-styles example
* fix standars next
2017-06-30 22:32:33 +02:00
Jess Telford
4a0278b5c0
Apollo + Authentication + graph.cool example ( #2161 )
...
* Apollo + Authentication + graph.cool example
* Fix linting errors
2017-06-30 22:18:11 +02:00
Colder Xihk
b86bbb65a6
update with-antd-mobile example ( #2403 )
...
add support custom svg
remove expire tricks
2017-06-29 22:04:16 +02:00
Penn Su
c9bc471d3a
with-dotenv example ( #2399 )
2017-06-29 08:32:45 +02:00
Mitchell Hamilton
31db8dd932
Add with-emotion example ( #2395 )
...
* Add with-emotion example
* Fix linting errors
2017-06-29 07:44:48 +02:00
Arunoda Susiripala
655018c0e7
Merge master into v3-beta
2017-06-29 00:51:05 +05:30
Arunoda Susiripala
23c2f02f56
Make it easy and meaningful to analyze the bundle. ( #2393 )
2017-06-29 00:46:21 +05:30
Daniel Steigerwald
c39e555353
Improve Fela example ( #2330 )
...
* Improve Fela example
- add webPreset
- cleaner code
- add key for style
- demonstrate Fela composition
* Fix standard lint
2017-06-28 19:14:18 +02:00
Thomas Preusse
3be175b466
Apollo Example: Fix duplicate head tags ( #2362 )
2017-06-28 19:07:21 +02:00
myxvisual
9da6524d30
Feature add react uwp example ( #2375 )
...
* feat: Add react-uwp examples
* fix: remove log from ThemeWrapper
* feat: Add README.md
* fix: Fixed right version
* fix: Use JavaScript Standard Style
* fix: Fixed wrong next version
2017-06-27 21:10:26 +02:00
Christoph Stock
5d039877a6
update dependencies ( #2354 )
2017-06-23 20:40:42 +02:00
Henrik
b2bda416b6
Fix material-ui-next example ( #2348 )
2017-06-23 15:51:25 +02:00
Henrik
f14297dc80
Normalize example package.json files ( #2350 )
2017-06-23 10:46:44 +02:00
David Nguyen
3c71e818bf
Example/add high order component example ( #2331 )
...
* temporary commit
* update code
* completed example higher order component
* remove custom server
2017-06-21 19:45:06 +02:00
Robin Frischmann
d8bc386282
improve server-side rendering ( #2322 )
2017-06-20 17:21:17 +02:00
Arunoda Susiripala
319a2144f3
Merge master into v3-beta.
2017-06-16 21:55:46 +05:30
Arunoda Susiripala
9df59c1176
Dynamic component support with multiple modules ( #2235 )
...
* Layout ground works for next/async
* Implement the Dynamic Bundle feature.
* Add some test cases.
* Update README.
* Implement props aware dynamic bundle API.
* Update tests and README.
* Add a test case for React Context support.
2017-06-16 18:49:34 +05:30
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
tashburn
6303d19a3a
Edited README.md ( #2276 )
...
Explained how this example is different from /examples/with-material-ui
2017-06-15 21:51:19 +02:00
David Nguyen
7b62ef3ba6
Upgrade beta version of next for "with-dynamic-import" example ( #2262 )
...
* temporary commit
* fixed eslint & parse error when precommit
* upgrade new beta version for stability
2017-06-15 00:16:45 +05:30
Robin Frischmann
c72435fe5c
update with-fela to Fela > 5.0 ( #2253 )
...
* update fela example
* fix wrong whitespace
2017-06-13 22:50:42 +02:00
Thomas Foricher
480f3ab124
Small typo ( #2243 )
2017-06-13 12:27:07 +05:30
Arunoda Susiripala
a36be58124
Rewrite urls with hashes correct for static export. ( #2242 )
...
* Rewrite urls with hashes correct for static export.
* Fix some lint issues inside an example app.
2017-06-13 11:44:31 +05:30
Chris Wheatley
87c4e98fa5
Add a sw-precache example ( #2237 )
...
* add sw-precache example
* remove npm run dev command
2017-06-12 19:24:57 +02:00
Vinay Puppal
7b62184c0b
Add with-react-ga example ( #2225 )
...
* add with-react-ga example
* fix title in Readme
2017-06-09 23:44:26 +02:00
Adam Soffer
5d71434121
Remove warning when upvoting a post in apollo examples ( #2190 )
...
* Fix apollo warning and error when upvoting post
* Fix apollo warning and error when upvoting post in apollo-redux example as well
2017-06-08 19:26:40 +02:00
Adrian le Bas
c66cafd362
Remove hardcoded address from ws example. ( #2204 )
...
With a hard coded address on the client, the app no longer works when deploying, which is annoying since there's a handy 'deploy now' button on the readme.
By removing the hard coded address socket.io will connect to the location host automatically so it works both on development and production.
2017-06-08 19:11:08 +02:00
Guillermo Rauch
f4345e79c2
Merge branch 'v3-beta' of github.com:zeit/next.js into v3-beta
2017-06-01 18:31:14 -07:00
Guillermo Rauch
850a931e88
Merge branch 'master' into v3-beta
2017-06-01 18:30:57 -07:00
Ademola Adegbuyi
18bb8774c7
Fix with-glamorous example ( #2117 )
...
* Fixed all unsupported style properties
2017-05-31 07:56:50 +02:00
Olivier Tassinari
3a0fe4349c
Fix escape issue ( #2115 )
...
For instance:
```css
.MuiGrid-gutter-xs-8-1393152966 > .MuiGrid-typeItem-3088349198 {
font-family: "Roboto", "Helvetica", "Arial", sans-serif;
}
```
2017-05-30 20:51:52 +02:00
Bruno
9f994631f8
Small code fix ( #2099 )
...
Using actionType instead of plain string
2017-05-29 19:36:57 +02:00
偏右
9ce12a03c5
Upgrade deps and fix old usage ( #2084 )
...
Fix https://github.com/zeit/next.js/pull/1817#issuecomment-299738931
2017-05-27 18:02:53 +02:00
Colder Xihk
56cf8ad0a3
Add ant design mobile example ( #1793 )
...
* add antd-mobile example
* update antd-mobile@1.1.2
remove unsupported page
add menu to trick page
2017-05-27 14:22:13 +02:00
偏右
bd96b69049
Add ant design example ( #1817 )
...
* Add ant design example
* Reduce bundle size by importing modularized antd
* lock react version for warning
2017-05-27 14:21:01 +02:00
Victor Nahuel Chaves
5187fcdb80
add postcss after sass compilation to with-external-scoped-css example ( #1640 )
...
* add postcss after sass compilation
* Fix indent
* Fixed mixed tab indent with spaces
2017-05-27 14:18:50 +02:00
Thomas Lindstrøm
0d0ab77db7
Update example with-scoped-stylesheets-and-postcss
( #1606 )
...
Fixes #1191
2017-05-27 14:12:37 +02:00
Miles Rausch
f0c646a366
Correct "yo" to "to" ( #2078 )
2017-05-27 13:14:21 +02:00
João Carmona
c443635945
feat(with-redux): add redux tools to example ( #1994 )
2017-05-25 18:37:10 +02:00
Olivier Tassinari
15e9573ded
feat: add an example with the next branch of Material-UI ( #2036 )
2017-05-25 18:36:21 +02:00
RasmusErik Voel Jensen
8b90e6f148
example: with react-toolbox ( #2047 )
...
* example with react-toolbox
* JavaScript standard
2017-05-25 18:32:17 +02:00
Conor Dockry
dcac093b55
Remove stage-0 from package.json ( #2028 )
2017-05-20 19:55:48 +02:00
Olivier Tassinari
23a480964e
Update layout.js ( #2018 )
2017-05-19 14:02:11 +02:00
David Ďurika
55b5dbf9cd
Fix: point tar.gz to v3 branch ( #2007 )
...
* Fix: point tar.gz to v3 branch
* Update README.md
2017-05-18 15:53:52 -03:00
Ardani Rohman
443dceaeec
improve example fallback translation and add new sample locale for lang id ( #1983 )
2017-05-17 19:41:54 +02:00
Johhan Santana
dff20eae01
add next.config.js for v3 next export example with-dynamic-import ( #1976 )
...
* add next.config.js file for static routes
* reverted start npm script to default
* eslint fix
* fix curl command in README
* remove next config
2017-05-16 09:19:31 +05:30
Arunoda Susiripala
f8317f158b
Add an case to show when dynamic import components won't load.
2017-05-15 10:14:26 +05:30
Arunoda Susiripala
4d0147385c
Merge v3-beta in dynamic-imports
2017-05-15 09:41:42 +05:30
Tim Neutkens
bc71b89b45
Remove stage-0 from example ( #1959 )
2017-05-13 13:01:29 +02:00
Tim Neutkens
2ea619658b
Fix react-md example
2017-05-13 00:42:39 +02:00
Roland Warmerdam
f4d6cbfc19
Many improvements to the Apollo examples ( #1905 )
...
* Many improvements to the Apollo examples
* Use static properties
2017-05-11 00:23:11 +02:00
Grokling
7c8d0246e2
Add rehydration to example/aphrodite ( #1858 )
...
* Add rehydration to example/aphrodite
* linting
* replaced yarn.lock
2017-05-10 00:33:39 +02:00
Brikou CARRE
9f194677ec
Upgrade jest and simplify .babelrc ( #1913 )
...
* Upgrade jest and simplify .babelrc
* Fix linter
2017-05-09 09:00:25 -07:00
Elliot Hesp
605161df8a
[with-firebase] Ensure server credentials aren't bundled with client code ( #1875 )
...
* [with-firebase] Ensure server credentials aren't bundled with client code
* [with-firebase] Fix travis build failure
2017-05-08 21:53:48 +02:00
Roland Warmerdam
5c57b43e0a
Fix production builds for the material-ui example ( #1906 )
...
Also remove redundant getMuiTheme() calls, handle injectTapEventPlugin()
better and use process.browser.
2017-05-07 15:51:12 +02:00
Grokling
c77e80be30
Update README.MD with warning about BETA version. Remove redundant note. ( #1909 )
2017-05-07 14:51:32 +02:00
Grokling
1b893518bb
Add SSR to examples/with-styled-components + bump styled_components v2 ( #1908 )
2017-05-07 14:25:33 +02:00
Paul Xu
d1b47146d3
Update incorrect example reference in readme ( #1901 )
...
In the `with-refnux` eample.
2017-05-06 21:59:02 +02:00
Arana Jhonny
23574b5489
Support for cxs rehydration and removal of duplicate styles. ( #1860 )
...
* add cxs.rehydrate.
* add id='cxs-style'.
2017-05-06 11:37:47 -07:00
Trevor D. Miller
93a1b73efe
Removing unneeded dev dependency ( #1869 )
...
babel-jest is included automatically by jest when a babel config is present, so including it manually here doesn't do anything.
> "Note: babel-jest is automatically installed when installing Jest and will automatically transform files if a babel configuration exists in your project."
http://facebook.github.io/jest/docs/en/getting-started.html#using-babel
2017-05-04 10:06:58 -07:00
jascha ehrenreich
6e89d49f99
fix typo ( #1856 )
2017-05-02 21:06:33 -07:00
David Madner
d1b61afcf8
Update README.md ( #1851 )
2017-05-02 09:12:24 -07:00
spencer
2e7bc1074d
Update to examples: with-redux (updated) ( #1813 )
...
* With-Redux-example-update-request
Hello Next.js,
I’ve added an additional example to “With-Redux” and updated some of
the original code to help illustrate to less inexperienced developers
how to implement Redux with Next.js.
The example is a simple counter to help reinforce how the client and
server renderings work together. In addition I also updated some of the
redux boilerplate code to help fully demonstrate how redux can be
implemented when using is with Next.js
Please contact me at spencer.bigum@gmail.com for further questions or
anything else you might need.
Thanks,
Spencer
* fixed listing issues: examples/with-redux
* Updated code based on @impronunciable Feedback
2017-04-30 17:44:24 -03:00
Átila Fassina
c9d0670362
with-i18next example ( #1496 )
...
* examples/with-i18next: create folder and initial settings
* examples/with-i18next:abstract url and object keys - finish readme
* examples/with-i18next: next@beta is not actually necessary
* examples/with-it18next: fix standardjs eslint warnings
* examples/with-i18next: review updates
2017-04-30 07:35:07 -07:00
Craig Ramey
8d59de4d7a
example curl pointed to with-styled-components, supposed to be with-flow ( #1832 )
2017-04-30 07:31:03 -07:00
Brendan Houle
03bfaecf49
Add root static files example ( #1835 )
2017-04-30 07:30:29 -07:00
Arana Jhonny
25dbcce60b
fix #1833 , update all examples. ( #1834 )
2017-04-30 07:29:37 -07:00
Arunoda Susiripala
686dd4c4dd
Merge master into dynamic-import.
2017-04-27 08:48:43 -07:00
Arunoda Susiripala
7fcd1ea760
Add async-reactor example.
2017-04-27 08:22:25 -07:00
Colder Xihk
b52b91a840
fix typo in with-material-ui readme ( #1797 )
2017-04-26 13:27:37 +02:00
Paul Molluzzo
1eeb8820bb
Add deply now buttons to with-firebase, with-material-ui, with-socket.io ( #1779 )
2017-04-22 15:37:04 +02:00
Daniel Steigerwald
2a14d32235
Fix Fela example ( #1663 )
...
* Fix Fela example
Styles must be set via the innerHTML. Otherwise, a fontFamily "Segoe
UI” will have encoded quotes.
* Add example
Which didn’t work previously.
* Fix lint
2017-04-22 15:09:35 +02:00
Sébastien Dubois
612f06b7cf
Document skipping cache for babel-loader + setting env at runtime ( #1747 )
2017-04-22 14:57:09 +02:00
captDaylight
06baed2fe8
820 firebase ( #1756 )
...
* connecting to firebase
* login and logout with sessions
* setting messages on the client side
* should have messages served on init
* set messages in state
* updating credentials
* updating readme
* more cred
* iron out eslint issues
* highlight where to put firebase variables
* fix problem of database listener not picking up changes on load
* remove isomorphic from main package.json
2017-04-22 14:56:28 +02:00
Dan Zajdband
bbb8ff75a5
Add/semantic ui example ( #1753 )
...
* Using developit/unfetch as the Fetch API polyfill
* Added Semantic UI React example
* Fixed linting issues
2017-04-22 14:54:35 +02:00
Sergio Daniel Xalambrí
1bb20b1930
Add socket.io example ( #1766 )
...
* Add socket.io example
* [update] stop handling events before unmount
* [update] add deploy to now button
* Fix linting problems
* Fix last missing linting problem
2017-04-22 14:53:48 +02:00
Ernesto Palafox
ce0a2f7b13
Add Material-UI example ( #1771 )
...
* Add Material-UI example
* Fix linting on material-ui example
2017-04-22 14:52:49 +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
Ernesto Palafox
ba5601f6da
Fix dependencies install error on 'with-url-object-routing' example ( #1764 )
2017-04-22 14:48:09 +02:00
Dan Zajdband
865263d24a
Fix/amp example ( #1755 )
...
* Using developit/unfetch as the Fetch API polyfill
* Fixed amp example checking if the amp attribute is already present
* Fix lint
2017-04-19 11:59:04 +02:00
Arunoda Susiripala
b5a03a3896
Implement ssr=false support.
2017-04-18 22:21:31 +05:30
Arunoda Susiripala
f2bfcd01b0
Add an example with custom loading component.
2017-04-18 22:07:57 +05:30
Arunoda Susiripala
90ea471aa7
Merge master into dynamic-import.
2017-04-18 21:42:21 +05:30
Arunoda Susiripala
dfa28815a5
Add server side rendering for dynamic imports.
2017-04-18 01:45:50 +05:30
Arunoda Susiripala
f51300f14b
Add core import() support.
2017-04-17 21:03:40 +05:30
Orlin M Bozhinov
b46502f8f1
corrected css pre-processing #readme link ( #1709 )
2017-04-14 17:54:55 -03:00
C. T. Lin
8e6615dcf9
upgrade react to v15.5 and use prop-types instead of React.PropTypes ( #1684 )
...
* upgrade react to v15.5 and use prop-types instead of React.PropTypes
* Update package.json
2017-04-11 00:05:26 +05:30
Remy Sharp
0487956c47
docs: don't blow away existing query string ( #1638 )
...
* docs: don't blow away existing query string
See comments in diff - I ran across this and it took me a while to work out why my client side code worked, but the server didn't. It was because I didn't realise that `.render`'s 3rd arg was the query object, so it was losing the _actual_ query string.
* chore: remove trailing spaces
¯\_(ツ)_/¯ I think!
2017-04-07 10:01:40 -07:00
Paul Molluzzo
12a7610d9a
Add example using glamorous 💄 ( #1620 )
...
* Add example using glamorous 💄
* Fix linting errors
* Fix FOUC with server rendering and rehydration
* Camelcase CSS property names
* Fix title in README
* Fix typo in README
2017-04-05 17:54:42 -07:00
Vinay Puppal
897ff6c010
fix typo in with-universal-configuration example ( #1628 )
2017-04-05 17:54:00 -07:00
Alexander Ryzhikov
d10d80ce3c
Fix react-helmet example missing initial props ( #1598 )
...
* Fix react-helmet example missing initial props
* Fix semicolon
2017-04-03 09:51:26 +05:30
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
jwalter
9393440402
Remove babelrc from preact example doc ( #1583 )
...
The mentioned .babelrc usage is not needed for using preact with Next anymore. The actual code change was merged in (#1194 )
2017-03-31 15:15:28 -07:00
Adam Soffer
c2036e1326
Create separate Apollo example without Redux integration ( #1483 )
...
* Add minimal apollo example
* Update apollo example README
* Update apollo example demo link in README
* Fix button styles
* Fix show more button
* Alias demo url
* Include the data field on the Apollo store when hydrating
* Revert
* Include the data field on the Apollo store when hydrating per tpreusse's suggestion.
* Add example to faq section in README
* Sort by newest; Add active state to buttons
* Make optimization suggestions
* Use process.browser; inline props
* Pass wrapped component's initial props into component heirarchy if they exist
* Remove unnecessary sorting of array
* Update Apollo example
* Remove trailing comma
* Update reduxRootKey
* Remove unnecessary babelrc
* Update with-apollo example
- Remove use of deprecated 'reduxRootKey' option
- Add loading indicator inside pagination button
* Fix with-apollo example pagination; Pass initialState to ApolloClient
* Split apollo example into two (one with and without Redux integration)
* Rename createClient private function to _initClient
* Set initialState default parameter inside initClient function
* Remove redux dep from with-apollo example
2017-03-30 11:21:13 -07:00
Dan Zajdband
d5369c01a8
Fix/example instructions ( #1559 )
...
* Using developit/unfetch as the Fetch API polyfill
* Fixed layout component example instructions
2017-03-29 12:00:13 -03:00
Tomas Roos
6de2477564
Mobx leaks memory on server side ( #1550 )
...
* Added server.js to configure useStaticRendering on start
* Update package to use server.js
* auto format with standard instead of prettier :( fixes broken test
2017-03-29 17:24:46 +05:30
Koji Ishimoto
5a11a86389
Add and update dependencies ( #1531 )
2017-03-28 08:22:46 +02:00
Arana Jhonny
e9d0aeb2b2
remove extra semicolon. ( #1520 )
2017-03-27 20:01:40 +05:30
David Ascher
84d4197a6d
Add link ( #1492 )
2017-03-24 14:14:29 +01:00
Penn Su
b682267b50
Fix URL ( #1467 )
2017-03-21 09:40:09 +05:30