Commit Graph

21 Commits

Author SHA1 Message Date
Ran Yitzhaki
05d3fd2d0d Remove dot from the end of the link (#5449) 2018-10-16 20:14:33 -04:00
Jeffrey Posnick
50607682ef Updates to clarify the "waiting" SW behavior (#5410) 2018-10-12 09:45:57 -04:00
Peter Bengtsson
e783bf8aed avoid TypeError on when registering service workers without config (#5301)
* avoid TypeError on when registering service workers without config

Fixes #5299

* same before config.onUpdate
2018-10-04 22:42:16 -04:00
Andreas Cederström
7966139635 Small typo fix #4217 2018-04-04 08:46:15 +02:00
Michaël De Boey
25184c4e91 Fix links to package (#3898) 2018-01-22 22:16:22 +00:00
Bond
db75a16a13 Update short link for PWA (#3872) 2018-01-21 11:25:11 +00:00
Piotr
39126a102b Provide callbacks in serviceWorker (next) (#3867)
* Provide callbacks in serviceWorker

* revert exporting default function
2018-01-20 19:15:32 +00:00
Ian Sutherland
0e51eef6d7 Disable service worker by default (#3817)
* WIP disable service worker by default (#2554)

* Updated service worker registration

* Readd default export in registerServiceWorker.js

* Updated comments about using Service Worker

* Call it serviceWorker

* Nits
2018-01-19 00:13:54 +00:00
Luke Jackson
f6ad7fe7f8 Applies new theme and adds docs link to template (#3235)
* Applies dark theme and adds link to reactjs.org

* Just "learn React"

* Tweaks
2018-01-17 19:37:53 +00:00
Dan Abramov
9af042263f Unmount the App in the default test (#3511) 2017-11-27 22:32:57 +00:00
Jeffrey Posnick
daf8df1ab3 Add a localhost-only log message pointing folks to the PWA docs. (#3455) 2017-11-15 13:51:35 -05:00
Kévin Dunglas
15d8e53daf Remove an useless negation in registerServiceWorker.js (#3150) 2017-10-28 22:01:24 +01:00
David Leger
206f9e84e6 Resolved issue #2971 (#2989)
* Resolved issue #2971

- changed h2 to h1 in template to adhere to accessibility guidelines.
- Added h1 styles to maintain same font size.

* Added header tag to template

Corrected templete to use semantically correct header tag for header instead of div

* Added className for App-title

- Added className="App-title" to h1 tag
- Changed CSS selector to target class instead of element
2017-09-12 22:32:57 -04:00
Ro Savage
78dbf7bf2b Add simplified service worker invalidation (#2551)
* Add service worker invalidation

* Update valid service worker check only on local host
2017-06-27 17:07:38 +01:00
Jeffrey Posnick
a7d31d9fa8 Determines whether PUBLIC_URL is same-origin before registering SW. (#2432) 2017-06-26 17:30:43 +01:00
bryankang
b264b8de33 Prioritize index.css over the implicit App.css (#2470) 2017-06-06 00:36:13 +01:00
Dan Abramov
b98ba3d7ea Better document PWA stuff 2017-05-19 01:46:47 +01:00
Jeffrey Posnick
c7c3a521e2 PWA-ification, via SWPrecacheWebpackPlugin + manifest.json (#1728)
* sw-precache-webpack-plugin, SW registration, manifest.json

* Documentation + a few SW tweaks.

* Added an unregister method, too, just in case.

* More info for the READMEs.

* Add minify to SWPrecacheWebpackPlugin config

* Fix SWPrecacheWebpackPlugin typo

* Fix file references in READMEmd

* Add instructions for testing service-worker locally

* Review feedback

* Some additional PWA metadata

* Use sw-precache-webpack-plugin v0.9.1 for node >=4.0.0 support

* Review feedback.

* Add manifest.json context in a comment.

* Fix typo

* Downgrade to sw-precache-webpack-plugin 0.9.1

* Hide changes in README until 1.0

* Hide changes in User Guide until 1.0

* Hide more docs
2017-05-17 19:28:27 +01:00
Valerii Sorokobatko
fe7b5c212b update to modern code style (#1738)
* mv create-react-app/index.js -> create-react-app/creteReactApp.js

* update to modern code style

* var -> cosnt

* set trailing-coma to es5 for prettier
2017-03-07 19:46:10 +00:00
Dan Abramov
bc6392afaf Add support for public/ folder (#703) 2016-09-22 21:25:34 +01:00
Ville Immonen
26464096d5 Set up a monorepo with Lerna 2016-09-19 10:52:19 +03:00