Commit graph

13 commits

Author SHA1 Message Date
Jip Sterk
e058fa49d0
remove unneeded deps & updated example (#17651)
Closes #17626
2020-10-29 02:31:17 +00:00
Kristoffer K
2acb53bd30
chore: update example names to match their folders (#16268)
**What's the problem this PR addresses?**

A decent amount of the examples don't have a `name` field in `package.json` that matches their folder name, meaning they either lack a name or the names are duplicated.

I was testing Yarn 2 workspaces using the entire examples directory and needed to get rid of the duplicates.

**How did you fix it?**

Updated the names to match the names of their folders
2020-09-05 21:23:51 +00:00
Joe Haddad
f17d435166
Ensure all examples are MIT licensed (#16691) 2020-08-29 22:32:35 -04:00
Tim Neutkens
ac34a9f960
Clean up examples directory (#11169)
* Remove outdated examples

* Remove outdated example

* Remove outdated example that doesn't show best practices

* Remove outdated example

* Remove outdated example

* Remove outdated example

* Update preact example

* Update using-router to use useRouter

* Remove outdated example

* Remove outdated example

* Remove outdated example

* Remove outdated example

* Remove outdated example

* Remove outdated example

* Combine examples

* Simplify offered examples

* Remove outdated example

* Add link to new example

* Removed outdated example

* Markdown example has been improved

* Remove example that showed bad practices

* Remove outdated example

* Update polyfills example

* Remove outdated example

* Remove outdated example

* Remove outdated example

* Removed outdated example

* Remove outdated example

* Remove outdated example

* Remove outdated example

* Remove outdated example

* Update webassembly example

* Move example
2020-03-18 13:45:31 +01:00
Juan Olvera
7e12997af6 Test updater script on examples folder (#5993)
I wrote a [script](https://github.com/j0lv3r4/dependency-version-updater) to update dependencies recursively in `package.json` files, e.g.:

```
$ node index.js --path="./examples" --dependencies="react=^16.7.0,react-dom=^16.7.0"
```

This PR contains the result against the examples folder.
2019-01-05 12:19:27 +01:00
Steven Bell
05479400e3 Update react and react-dom to use "latest" (#5942) 2018-12-24 11:24:25 +01:00
Steven Bell
af1d10c941 update with-emotion example to emotion 10 (#5770) 2018-11-29 20:12:25 +01:00
Tim Neutkens
9a82ca4029 Update Next.js version on examples 2018-01-30 21:46:15 +01:00
Hugo Meissner
573692c137 emotion v8 + adjustments for breaking changes (#3054)
* emotion v8 + adjustments for breaking changes

* Corrected versioning

* Take hydrate from 'react-emotion'

I was actually wondering that, but haven't seen hydrate in the medium post (even though you pointed out that react-emotion exports all of emotion and I've seen it in source) and didn't want to risk it for the off chance that it *should* be imported directly from emotion for some reason :D
2017-10-09 23:18:37 +02:00
Matija Marohnić
3c92524b06 Update example with emotion (#2837)
* Update example with emotion

Emotion is now split into separate packages using Lerna.

* Update Next.js in emotion example
2017-08-24 08:27:49 +02:00
Josh Hawkins
5bd3a5f1d1 Update emotion example to use css instead of fragment (#2497) 2017-07-07 17:25:26 +02:00
Matt Hamlin
0f3fecfe8b Update emotion examples with new API for SSR and React endpoint (#2456)
* Update emotion examples with new API for SSR and React endpoint

* Actually fixing tab replacement
2017-07-06 07:44:46 +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