Skip to content

Experiment with flexible APIs#482

Draft
NullVoxPopuli wants to merge 2 commits into
mainfrom
experiment-with-multi-api-utils
Draft

Experiment with flexible APIs#482
NullVoxPopuli wants to merge 2 commits into
mainfrom
experiment-with-multi-api-utils

Conversation

@NullVoxPopuli

@NullVoxPopuli NullVoxPopuli commented May 14, 2022

Copy link
Copy Markdown
Owner

todos

  • same import, multiple uses
    • describe difference in casing / naming / etc
    • does any of the name / casing matter?
    • simplify things
      • make resource be able to take sub-classes of Resource (this will bring consistency to function resources and class resources, even if each has a shorthand)
      • any place where @use is needed, @use should be re-exported (to reduce imports for the simple demos / examples / small componets)?

@NullVoxPopuli NullVoxPopuli force-pushed the experiment-with-multi-api-utils branch from 85a9f41 to cf8dd02 Compare June 12, 2022 02:43
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Jun 12, 2022

Copy link
Copy Markdown

Deploying with  Cloudflare Pages  Cloudflare Pages

Latest commit: cf8dd02
Status: ✅  Deploy successful!
Preview URL: https://4df7cb3d.ember-resources.pages.dev
Branch Preview URL: https://experiment-with-multi-api-ut.ember-resources.pages.dev

View logs

@github-actions

Copy link
Copy Markdown
Contributor

Estimated impact to a consuming app, depending on which bundle is imported

js min min + gzip min + brotli
/core/index.js 4.21 KiB 1.89 KiB 898 B 763 B
/util/debounce.js 2.67 KiB 797 B 415 B 348 B
/util/ember-concurrency.js 5.39 KiB 1.6 KiB 748 B 635 B
/util/function-resource.js 10.09 KiB 2.46 KiB 947 B 802 B
/util/function.js 4.09 KiB 1.83 KiB 720 B 615 B
/util/helper.js 1.8 KiB 303 B 218 B 177 B
/util/map.js 6.4 KiB 2.69 KiB 1.1 KiB 947 B
/util/remote-data.js 5.03 KiB 1.84 KiB 710 B 620 B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant