question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Consider renaming preload

See original GitHub issue

There’s a browser feature called preload, which Sapper/kit supports: https://developer.mozilla.org/en-US/docs/Web/HTML/Preloading_content

It’s been confusing on a number of occasions that we’ve overloaded this term. This might be a good opportunity to consider naming

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (10 by maintainers)

github_iconTop GitHub Comments

1reaction
Rich-Harriscommented, Oct 16, 2020

It could be as simple as getProps.

Personally I’m inclined to leave preload as-is for now, because there’s lots of ideas floating around about how we could improve the API itself, and it’d nice to be able to introduce a replacement while deprecating preload in a non-breaking way, which is harder if we rename the function without changing the API.

0reactions
Rich-Harriscommented, Dec 13, 2020

closing in favour of #268

Read more comments on GitHub >

github_iconTop Results From Across the Web

Renaming anything in Godot should rename their references
When renaming any kind of object in Godot, it should find all occurrences in ... names for the changed scene/node, like "load(), preload(),...
Read more >
Naming Devices in JAMF--AppleTV and IPads
The best thing about it is that if someone changes the name of the device, it will force back into whatever is in...
Read more >
Preloading fonts using angular CLI - Stack Overflow
However angular hashes my fonts during the build process, so my font will be copied to the root folder and renamed to look...
Read more >
Preloading files in Assets folder - Help - OpenFL Community
I have this line in my project.xml file: <assets path="Assets" rename="assets" exclude="*.swf" /> Is preload=“false” the default value or do ...
Read more >
3 ways to do eager loading (preloading) in Rails 3, 4, 5 and 6
table names. So #includes delegates the job to #eager_load . You can always achieve the same result by using the #eager_load method directly....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found