Docs website
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Michel Weststrate · committed by Michel Weststrate · parent 12298be · Browse files · 18 files·+101 added−191 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
18 files+101 added−191 removed
- other:+101 added−191 removed
Provenance
- Commit
6d903d1- Tree
a6dfdfa- Author
Michel Weststrate <mweststrate@gmail.com>- Committer
Michel Weststrate <mweststrate@gmail.com>- Parent
12298be
18 files changed+101 added−191 removed
modified:docs/api.md+33 added-1 removed
3 unmodified lines4567889101112131415161718192021222324252627282930313233343536373839403 unmodified lines---
<div id="codefund"><!-- fallback content --></div>
api / description / further explanation| Exported name | Description | Section || --- | --- | --- || `applyPatches` | Given a base state or draft, and a set of patches, applies the patches | [Patches](patches.md) || `createDraft` | Given a base state, creates a mutable draft for which any modifications will be recorded | [Async](async.md) || `Draft<T>` | Exposed TypeScript type to convert an immutable type to a mutable type | [TypeScript](typescript.md) || `finishDraft` | Given an draft created using `createDraft`, seals the draft and produces and returns the next immutable state that captures all the changes | [Async](async.md) || `Immer` | constructor that can be used to create a second "immer" instance (exposing all APIs listed in this instance), that doesn't share it's settings with global instance. Can also be used to attach further hooks that are triggered during object finalization, such as `onAssign`, `onDelete` and `onCopy`. | [See source](https://github.com/immerjs/immer/blob/cb1c6dd8a33073aaa0a4d881c94ec7ab1c1be7f6/src/immer.d.ts#L224-L233) || `immerable` | Symbol that can be added to a constructor or prototype, to indicate that Immer should treat the class as something that can be safely drafted | [Classes](complex-objects.md) || `Immutable<T>` | Exposed TypeScript type to convert mutable types to immutable types | || `isDraft` | Returns true if the given object is a draft object | || `isDraftable` | Returns true if Immer is capable of turning this object into a draft. Which is true for: arrays, objects without prototype, objects with `Object` as their prototype, objects that have the `immerable` symbol on their constructor or prototype | || `nothing` | Value that can be returned from a recipe, to indicate that the value `undefined` should be produced | [Return](return.md) || `original` | Given a draft object (doesn't have to be a tree root), returns the the original object at the same path in the original state tree, if present | [Original](original.md) || `Patch` | Exposed TypeScript type, describes the shape of an (inverse) patch object | [Patches](patches.md) || `produce` | The core API of Immer, also exposed as the `default` export | [Produce](produce.md) || `setAutoFreeze` | Enables / disableds automatic freezing of the trees produces. By default enabled in development builds | [Freezing](freezing.md) || `setUseProxies` | Can be used to disable or force the use of `Proxy` objects. Useful when filing bug reports. | |
## Importing immer
`produce` is exposed as the default export, but optionally it can be used as name import as well, as this benefits some older project setups. So the following imports are all correct, where the first is recommended:
```javascriptimport produce from "immer"import {produce} from "immer"
const {produce} = require("immer")const produce = require("immer").produceconst produce = require("immer").default
import unleashTheMagic from "immer"import {produce as unleashTheMagic} from "immer"```modified:docs/async.md+1 added-1 removed
12344567837 unmodified lines---id: asynctitle: Async producers & createDraft / finishDraftsidebar_label: async / createDraftsidebar_label: Async produce / createDraft---
<div id="codefund"><!-- fallback content --></div>
37 unmodified linesmodified:docs/built-with.md+14 added
2 unmodified lines345678910111213141516171819202 unmodified linestitle: Built with Immer---
<div id="codefund"><!-- fallback content --></div>
- [react-copy-write](https://github.com/aweary/react-copy-write) _Immutable state with a mutable API_- [redux-starter-kit](https://github.com/markerikson/redux-starter-kit) _A simple set of tools to make using Redux easier_- [immer based handleActions](https://gist.github.com/kitze/fb65f527803a93fb2803ce79a792fff8) _Boilerplate free actions for Redux_- [redux-box](https://github.com/anish000kumar/redux-box) _Modular and easy-to-grasp redux based state management, with least boilerplate_- [quick-redux](https://github.com/jeffreyyoung/quick-redux) _tools to make redux development quicker and easier_- [bey](https://github.com/jamiebuilds/bey) _Simple immutable state for React using Immer_- [immer-wieder](https://github.com/drcmda/immer-wieder#readme) _State management lib that combines React 16 Context and immer for Redux semantics_- [robodux](https://github.com/neurosnap/robodux) _flexible way to reduce redux boilerplate_- [immer-reducer](https://github.com/epeli/immer-reducer) _Type-safe and terse React (useReducer()) and Redux reducers with Typescript_- [redux-ts-utils](https://github.com/knpwrs/redux-ts-utils) _Everything you need to create type-safe applications with Redux with a strong emphasis on simplicity_- [react-state-tree](https://github.com/suchipi/react-state-tree) _Drop-in replacement for useState that persists your state into a redux-like state tree_- [redux-immer](https://github.com/salvoravida/redux-immer) _is used to create an equivalent function of Redux combineReducers that works with `immer` state. Like `redux-immutable` but for `immer`_- ... and [many more](https://www.npmjs.com/browse/depended/immer)modified:docs/curried-produce.md-15 removed
56 unmodified lines5758596061626364656667686970717273747556 unmodified lines 1: {id: 1, name: "product-1"} })```
##### Fun with currying
A random fun example just for inspiration: a neat trick is to turn `Object.assign` into a producer to create a "spread" function that is smarter than the normal spread operator, as it doesn't produce a new state if the result doesn't actually change ([details & explanation](https://twitter.com/mweststrate/status/1045059430256119809)). Quick example:
```javascriptimport produce from "immer"const spread = produce(Object.assign)
const base = {x: 1, y: 1}
console.log({...base, y: 1} === base) // falseconsole.log(spread(base, {y: 1}) === base) // true! base is recycled as no actual new value was producedconsole.log(spread(base, {y: 2}) === base)`` // false, produced a new object as it should```deleted:docs/doc1.md-130 removed
1----2-id: doc13-title: Latin-ish4-sidebar_label: Example Page5----6-7-<div id="codefund"><!-- fallback content --></div>8-9-- NPM: `npm install immer`10-- Yarn: `yarn add immer`11-- CDN: Exposed global is `immer`12- - Unpkg: `<script src="https://unpkg.com/immer/dist/immer.umd.js"></script>`13- - JSDelivr: `<script src="https://cdn.jsdelivr.net/npm/immer/dist/immer.umd.js"></script>`14-15----16-17-## External resources18-19-- Blog: [The Rise of Immer in React](https://www.netlify.com/blog/2018/09/12/the-rise-of-immer-in-react/)20-- Blog: by Workday Prism on why they picked Immer to manage immutable state [The Search for a Strongly-Typed, Immutable State](https://medium.com/workday-engineering/workday-prism-analytics-the-search-for-a-strongly-typed-immutable-state-a09f6768b2b5)21-- Blog: [Immutability in React and Redux: The Complete Guide](https://daveceddia.com/react-redux-immutability-guide/)22-- Video tutorial: [Using Immer with React.setState](https://codedaily.io/screencasts/86/Immutable-Data-with-Immer-and-React-setState)23-- [Talk](https://www.youtube.com/watch?v=-gJbS7YjcSo) + [slides](http://immer.surge.sh/) on Immer at React Finland 2018 by Michel Weststrate24-- [ForwardJS 2019: Immutability is Changing - From Immutable.js to Immer](https://www.youtube.com/watch?v=bFuRvcAEiHg&feature=youtu.be) by [shawn swyx wang](https://twitter.com/swyx/)25-26-# Pitfalls27-28-1. Don't redefine draft like, `draft = myCoolNewState`. Instead, either modify the `draft` or return a new state. See [Returning data from producers](#returning-data-from-producers).29-1. Immer assumes your state to be a unidirectional tree. That is, no object should appear twice in the tree, and there should be no circular references.30-1. Since Immer uses proxies, reading huge amounts of data from state comes with an overhead (especially in the ES5 implementation). If this ever becomes an issue (measure before you optimize!), do the current state analysis before entering the producer function or read from the `currentState` rather than the `draftState`. Also, realize that immer is opt-in everywhere, so it is perfectly fine to manually write super performance critical reducers, and use immer for all the normal ones. Also note that `original` can be used to get the original state of an object, which is cheaper to read.31-1. Always try to pull `produce` 'up', for example `for (let x of y) produce(base, d => d.push(x))` is exponentially slower than `produce(base, d => { for (let x of y) d.push(x)})`32-1. It is possible to return values from producers, except, it is not possible to return `undefined` that way, as it is indistinguishable from not updating the draft at all! If you want to replace the draft with `undefined`, just return `nothing` from the producer.33-34-## Cool things built with immer35-36-- [react-copy-write](https://github.com/aweary/react-copy-write) _Immutable state with a mutable API_37-- [redux-starter-kit](https://github.com/markerikson/redux-starter-kit) _A simple set of tools to make using Redux easier_38-- [immer based handleActions](https://gist.github.com/kitze/fb65f527803a93fb2803ce79a792fff8) _Boilerplate free actions for Redux_39-- [redux-box](https://github.com/anish000kumar/redux-box) _Modular and easy-to-grasp redux based state management, with least boilerplate_40-- [quick-redux](https://github.com/jeffreyyoung/quick-redux) _tools to make redux development quicker and easier_41-- [bey](https://github.com/jamiebuilds/bey) _Simple immutable state for React using Immer_42-- [immer-wieder](https://github.com/drcmda/immer-wieder#readme) _State management lib that combines React 16 Context and immer for Redux semantics_43-- [robodux](https://github.com/neurosnap/robodux) _flexible way to reduce redux boilerplate_44-- [immer-reducer](https://github.com/epeli/immer-reducer) _Type-safe and terse React (useReducer()) and Redux reducers with Typescript_45-- [redux-ts-utils](https://github.com/knpwrs/redux-ts-utils) _Everything you need to create type-safe applications with Redux with a strong emphasis on simplicity_46-- [react-state-tree](https://github.com/suchipi/react-state-tree) _Drop-in replacement for useState that persists your state into a redux-like state tree_47-- [redux-immer](https://github.com/salvoravida/redux-immer) _is used to create an equivalent function of Redux combineReducers that works with `immer` state. Like `redux-immutable` but for `immer`_48-- ... and [many more](https://www.npmjs.com/browse/depended/immer)49-50-## How does Immer work?51-52-Read the (second part of the) [introduction blog](https://medium.com/@mweststrate/introducing-immer-immutability-the-easy-way-9d73d8f71cb3).53-54-## Example patterns.55-56-_For those who have to go back to thinking in object updates :-)_57-58-```javascript59-import produce from "immer"60-61-// object mutations62-const todosObj = {63- id1: {done: false, body: "Take out the trash"},64- id2: {done: false, body: "Check Email"}65-}66-67-// add68-const addedTodosObj = produce(todosObj, draft => {69- draft["id3"] = {done: false, body: "Buy bananas"}70-})71-72-// delete73-const deletedTodosObj = produce(todosObj, draft => {74- delete draft["id1"]75-})76-77-// update78-const updatedTodosObj = produce(todosObj, draft => {79- draft["id1"].done = true80-})81-82-// array mutations83-const todosArray = [84- {id: "id1", done: false, body: "Take out the trash"},85- {id: "id2", done: false, body: "Check Email"}86-]87-88-// add89-const addedTodosArray = produce(todosArray, draft => {90- draft.push({id: "id3", done: false, body: "Buy bananas"})91-})92-93-// delete94-const deletedTodosArray = produce(todosArray, draft => {95- draft.splice(draft.findIndex(todo => todo.id === "id1"), 1)96- // or (slower):97- // return draft.filter(todo => todo.id !== "id1")98-})99-100-// update101-const updatedTodosArray = produce(todosArray, draft => {102- draft[draft.findIndex(todo => todo.id === "id1")].done = true103-})104-```105-106-## Migration107-108-**Immer 2.\* -> 3.0**109-110-In your producers, make sure you're not treating `this` as the draft. (see here: https://github.com/immerjs/immer/issues/308)111-112-Upgrade to `typescript@^3.4` if you're a TypeScript user.113-114-**Immer 1.\* -> 2.0**115-116-Make sure you don't return any promises as state, because `produce` will actually invoke the promise and wait until it settles.117-118-**Immer 2.1 -> 2.2**119-120-When using TypeScript, for curried reducers that are typed in the form `produce<Type>((arg) => { })`, rewrite this to `produce((arg: Type) => { })` or `produce((arg: Draft<Type>) => { })` for correct inference.121-122-## FAQ123-124-## Credits125-126-Special thanks to @Mendix, which supports its employees to experiment completely freely two full days a month, which formed the kick-start for this project.127-128-## Donations129-130-A significant part of my OSS work is unpaid. So [donations](https://mobx.js.org/donate.html) are greatly appreciated :)modified:docs/faq.md+10 added-8 removed
4 unmodified lines567899101111121314151615171819201921222324232526272827293031323133343536353738394 unmodified lines---
<div id="codefund"><!-- fallback content --></div>
_For those who skimmed the documentation instead of actually reading_## Q: How does Immer work?
**Q: Does Immer use structural sharing? So that my selectors can be memoized and such?**Read the (second part of the) [introduction blog](https://medium.com/@mweststrate/introducing-immer-immutability-the-easy-way-9d73d8f71cb3).
## Q: Does Immer use structural sharing? So that my selectors can be memoized and such?
A: Yes
**Q: Does Immer support deep updates?**## Q: Does Immer support deep updates?
A: Yes
**Q: I can't rely on Proxies being present on my target environments. Can I use Immer?**## Q: I can't rely on Proxies being present on my target environments. Can I use Immer?
A: Yes
**Q: Can I typecheck my data structures when using Immer?**## Q: Can I typecheck my data structures when using Immer?
A: Yes
**Q: Can I store `Date` objects, functions etc in my state tree when using Immer?**## Q: Can I store `Date` objects, functions etc in my state tree when using Immer?
A: Yes
**Q: Is it fast?**## Q: Is it fast?
A: Yes
**Q: Idea! Can Immer freeze the state for me?**## Q: Idea! Can Immer freeze the state for me?
A: Yesmodified:docs/installation.md-16 removed
11 unmodified lines12 - CDN: Exposed global is `immer`13 - Unpkg: `<script src="https://unpkg.com/immer/dist/immer.umd.js"></script>`14 - JSDelivr: `<script src="https://cdn.jsdelivr.net/npm/immer/dist/immer.umd.js"></script>`15 16-## Importing immer17-18-`produce` is exposed as the default export, but optionally it can be used as name import as well, as this benefits some older project setups. So the following imports are all correct, where the first is recommended:19-20-```javascript21-import produce from "immer"22-import {produce} from "immer"23-24-const {produce} = require("immer")25-const produce = require("immer").produce26-const produce = require("immer").default27-28-import unleashTheMagic from "immer"29-import {produce as unleashTheMagic} from "immer"30-```31-16 ## Immer on older JavaScript environments?17 18 By default `produce` tries to use proxies for optimal performance. However, on older JavaScript engines `Proxy` is not available. For example, when running Microsoft Internet Explorer or React Native (if < v0.59 or when using the Hermes engine) on Android. In such cases, Immer will fallback to an ES5 compatible implementation which works identical, but is a bit slower.modified:docs/introduction.md+2 added-4 removed
23 unmodified lines24 25 26 Using Immer is like having a personal assistant; he takes a letter (the current state) and gives you a copy (draft) to jot changes onto. Once you are done, the assistant will take your draft and produce the real immutable, final letter for you (the next state).27 28-A mindful reader might notice that this is quite similar to `withMutations` of ImmutableJS. It is indeed, but generalized and applied to plain, native JavaScript data structures (arrays and objects) without further needing any library.28+## Quick Example29 30-## Example31-30 ```javascript31 import produce from "immer"32 33 const baseState = [12 unmodified lines46 draftState[1].done = true47 })48 ```49 52-The interesting thing about Immer is that the `baseState` will be untouched, but the `nextState` will reflect all changes made to `draftState`.50+The interesting thing about Immer is that the `baseState` will be untouched, but the `nextState` will a new immutable tree that reflects all changes made to `draftState` (and strucurally sharing the things that weren't changed).51 52 Head to the [next section](produce) to further dive into `produce`.53 54 ## Benefits9 unmodified linesmodified:docs/performance.md+2 added-2 removed
3 unmodified lines4 ---5 6 <div id="codefund"><!-- fallback content --></div>7 8-Here is a [simple benchmark](__performance_tests__/todo.js) on the performance of Immer. This test takes 50,000 todo items and updates 5,000 of them. _Freeze_ indicates that the state tree has been frozen after producing it. This is a _development_ best practice, as it prevents developers from accidentally modifying the state tree.8+Here is a [simple benchmark](https://github.com/immerjs/immer/blob/master/__performance_tests__/todo.js) on the performance of Immer. This test takes 50,000 todo items and updates 5,000 of them. _Freeze_ indicates that the state tree has been frozen after producing it. This is a _development_ best practice, as it prevents developers from accidentally modifying the state tree.9 10 Something that isn't reflected in the numbers above, but in reality, Immer is sometimes significantly _faster_ than a hand written reducer. The reason for that is that Immer will detect "no-op" state changes, and return the original state if nothing actually changed, which can avoid a lot of re-renderings for example. Cases are known where simply applying immer solved critical performance issues.11 12 These tests were executed on Node 10.15.1. Use `yarn test:perf` to reproduce them locally.13 14-14+15 16 Most important observation:17 18 - Immer with proxies is roughly speaking twice to three times slower as a handwritten reducer (the above test case is worst case, see `yarn test:perf` for more tests). This is in practice negligible.3 unmodified linesmodified:docs/pitfalls.md+6 added
2 unmodified lines3 title: Pitfalls4 ---5 6 <div id="codefund"><!-- fallback content --></div>7+8+1. Don't redefine draft like, `draft = myCoolNewState`. Instead, either modify the `draft` or return a new state. See [Returning data from producers](#returning-data-from-producers).9+1. Immer assumes your state to be a unidirectional tree. That is, no object should appear twice in the tree, and there should be no circular references.10+1. Since Immer uses proxies, reading huge amounts of data from state comes with an overhead (especially in the ES5 implementation). If this ever becomes an issue (measure before you optimize!), do the current state analysis before entering the producer function or read from the `currentState` rather than the `draftState`. Also, realize that immer is opt-in everywhere, so it is perfectly fine to manually write super performance critical reducers, and use immer for all the normal ones. Also note that `original` can be used to get the original state of an object, which is cheaper to read.11+1. Always try to pull `produce` 'up', for example `for (let x of y) produce(base, d => d.push(x))` is exponentially slower than `produce(base, d => { for (let x of y) d.push(x)})`12+1. It is possible to return values from producers, except, it is not possible to return `undefined` that way, as it is indistinguishable from not updating the draft at all! If you want to replace the draft with `undefined`, just return `nothing` from the producer.modified:docs/resources.md+8 added
2 unmodified lines3 title: External resources4 ---5 6 <div id="codefund"><!-- fallback content --></div>7+8+- Blog: [The Rise of Immer in React](https://www.netlify.com/blog/2018/09/12/the-rise-of-immer-in-react/)9+- Blog: by Workday Prism on why they picked Immer to manage immutable state [The Search for a Strongly-Typed, Immutable State](https://medium.com/workday-engineering/workday-prism-analytics-the-search-for-a-strongly-typed-immutable-state-a09f6768b2b5)10+- Blog: [Immutability in React and Redux: The Complete Guide](https://daveceddia.com/react-redux-immutability-guide/)11+- Video tutorial: [Using Immer with React.setState](https://codedaily.io/screencasts/86/Immutable-Data-with-Immer-and-React-setState)12+- [Talk](https://www.youtube.com/watch?v=-gJbS7YjcSo) + [slides](http://immer.surge.sh/) on Immer at React Finland 2018 by Michel Weststrate13+- [ForwardJS 2019: Immutability is Changing - From Immutable.js to Immer](https://www.youtube.com/watch?v=bFuRvcAEiHg&feature=youtu.be) by [shawn swyx wang](https://twitter.com/swyx/)14+- [Talk: Immer, Immutability and the Wonderful World of Proxies](https://www.youtube.com/watch?v=4Nb9Gwp2L24) + [slides](https://jsnation-proxies.surge.sh/), JSNation 2019, Michel Weststratemodified:docs/support.md+4 added
2 unmodified lines3 title: Supporting immer4 ---5 6 <div id="codefund"><!-- fallback content --></div>7+8+Immer currently has 350.000 dependents on GitHub, and has almost 10.000.000 downloads per month. However, only the first 2 days of development has been sponsored (by Mendix), and all the development and maintenance after that has been a labor of love.9+10+If you are enjoying Immer, and you are grateful for the package, or want to ensure it's longevity, consider sponsoring the open collective on https://opencollective.com/immer or make a one time donation using [PayPal](https://www.paypal.me/michelweststrate).modified:website/i18n/en.json+4 added-7 removed
19 unmodified lines20 },21 "curried-produce": {22 "title": "Curried producers"23 },24- "doc1": {25- "title": "Latin-ish",26- "sidebar_label": "Example Page"27- },24 "example-reducer": {25 "title": "Example Reducer"26 },27 "example-setstate": {43 unmodified lines71 "sidebar_label": "TypeScript / Flow"72 }73 },74 "links": {79- "Docs": "Docs",80- "Help": "Help"75+ "Documentation": "Documentation",76+ "GitHub": "GitHub",77+ "Support Immer": "Support Immer"78 },79 "categories": {80 "Basics": "Basics",81 "Advanced Features": "Advanced Features",85- "Reources": "Reources"82+ "Resources": "Resources"83 }84 },85 "pages-strings": {86 "Help Translate|recruit community translators for your project": "Help Translate",4 unmodified linesmodified:website/static/img/immer-logo.pngbinary
A binary file, modified.
modified:website/sidebars.json+3 added-3 removed
1 {2 "Immer": {3- "Basics": ["introduction", "installation", "produce", "curried-produce", "api", "example-reducer", "example-setstate"],4- "Advanced Features": ["return", "patches", "freezing", "original", "async", "complex-objects"],5- "Reources": ["resources", "faq", "pitfalls", "built-with", "sponsor"]3+ "Basics": ["introduction", "installation", "produce", "curried-produce", "example-reducer", "example-setstate"],4+ "Advanced Features": ["api", "typescript", "return", "patches", "freezing", "original", "async", "complex-objects"],5+ "Resources": ["performance", "resources", "faq", "pitfalls", "built-with", "support"]6 }7 }modified:website/siteConfig.js+8 added-1 removed
26 unmodified lines27 // e.g., for the https://JoelMarcey.github.io site, it would be set like...28 // organizationName: 'JoelMarcey'29 30 // For no header links in the top nav bar -> headerLinks: [],31- headerLinks: [{doc: "doc1", label: "Docs"}, {page: "help", label: "Help"}],31+ headerLinks: [32+ {33+ doc: "introduction",34+ label: "Documentation"35+ },36+ {href: "https://github.com/immerjs/immer", label: "GitHub"},37+ {doc: "support", label: "Support Immer"}38+ ],39 40 /* path to images for header/footer */41 headerIcon: "img/favicon.ico",42 footerIcon: "img/favicon.ico",61 unmodified linesmodified:package.json+2 added-1 removed
17 unmodified lines18 "watch": "jest --watch",19 "coveralls": "jest --coverage && cat ./coverage/lcov.info | ./node_modules/.bin/coveralls && rm -rf ./coverage",20 "build": "rimraf dist/ && yarn-or-npm bili && yarn-or-npm typed",21 "typed": "cpx 'src/immer.{d.ts,js.flow}' dist -v",22- "publish-docs": "cd website && GIT_USER=mweststrate USE_SSH=true yarn run publish-gh-pages"22+ "publish-docs": "cd website && GIT_USER=mweststrate USE_SSH=true yarn run publish-gh-pages",23+ "start": "cd website && yarn start"24 },25 "husky": {26 "hooks": {27 "pre-commit": "pretty-quick --staged"61 unmodified linesmodified:readme.md+4 added-2 removed
6 unmodified lines7 _Create the next immutable state tree by simply modifying the current tree_8 9 Winner of the "Breakthrough of the year" [React open source award](https://osawards.com/react/) and "Most impactful contribution" [JavaScript open source award](https://osawards.com/javascript/) in 201910 11+# Documentation12+13+Can now be found on https://immerjs.github.io/immer/14+15 ### [Release notes](https://github.com/immerjs/immer/releases)16 17 Did Immer make a difference to your project? Consider buying me a coffee!<br/><a href="https://www.buymeacoffee.com/mweststrate" target="_blank"><img src="https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png" alt="Buy Me A Coffee" style="height: auto !important;width: auto !important;" ></a>14-15----