- Jan 2021
-
css-tricks.com css-tricks.com
-
-
The debate about whether a button or link should be used to download a file is a bit silly, as the whole purpose of a link has always been to download content. HTML is a file, and like all other files, it needs to be retrieved from a server and downloaded before it can be presented to a user. The difference between a Photoshop file, HTML, and other understood media files, is that a browser automatically displays the latter two. If one were to link to a Photoshop .psd file, the browser would initiate a document change to render the file, likely be all like, “lol wut?” and then just initiate the OS download prompt. The confusion seems to come from developers getting super literal with the “links go places, buttons perform actions.” Yes, that is true, but links don’t actually go anywhere. They retrieve information and download it. Buttons perform actions, but they don’t inherently “get” documents. While they can be used to get data, it’s often to change state of a current document, not to retrieve and render a new one. They can get data, in regards to the functionality of forms, but it continues to be within the context of updating a web document, not downloading an individual file. Long story short, the download attribute is unique to anchor links for a reason. download augments the inherent functionality of the link retrieving data. It side steps the attempt to render the file in the browser and instead says, “You know what? I’m just going to save this for later…”
-
- Dec 2020
-
github.com github.com
-
-
Making UIs with Svelte is a pleasure. Svelte’s aesthetics feel like a warm cozy blanket on the stormy web. This impacts everything — features, documentation, syntax, semantics, performance, framework internals, npm install size, the welcoming and helpful community attitude, and its collegial open development and RFCs — it all oozes good taste. Its API is tight, powerful, and good looking — I’d point to actions and stores to support this praise, but really, the whole is what feels so good. The aesthetics of underlying technologies have a way of leaking into the end user experience.
-
- Nov 2020
-
github.com github.com
-
This one gets the SEO, so I hope you're successful @raythurnevoid.
I assume this gets search traffic because people hope/assume that since there's a React "material-ui" that there might already be a "svelte-material-ui" port/adaptation available. So they search for exactly that (like I did). That and being the first to create that something (with that name).
Tags
- having a name containing a search term that people are looking for
- getting/attaining wide reach/audience/popularity due to being first to market
- port (adaptation/translation)
- web search for something brings me here
- getting/attaining wide reach/audience/popularity due to being or having a name containing a search term that people are looking for
- being the thing that people are looking for and hoping/assuming already exists
- excellent name
Annotators
URL
-
- Oct 2020
-
codesandbox.io codesandbox.io
-
Look at their Readme:
Well we have had a great time adding field validations, but there are validations that are tied up to the whole record we are editing than to a given field, for instance let's face this scenario: - You are not allowed to transfer more than 1000 € to Switzerland using this form (for instance: you have to go through another form where some additional documentation is required). - The best place to fire this validation is at record level. - Record validation functions accept as input parameter that whole form record info, and return the result of the validation (it accepts both flavours sync and promise based), let's check the code for this validator: ...
-
-
-
Fantastic reporting
-
-
vuejs.org vuejs.org
-
These are good docs.
Referenced by: https://github.com/sveltejs/svelte/issues/3368#issuecomment-519289238
-
-
danielmiessler.com danielmiessler.com
-
github.com github.com
-
Long ago, the standards deities gifted us <style scoped>, before removing it in favour of the arguably less-useful shadow DOM encapsulation mechanism.
-
-
-
andrewdeandrade commented on Jul 30, 2015
-
andrewdeandrade commented on Jul 31, 2015
locked issues that I would comment on if I could: Can't react to comment because locked. Want to thumb up.
-
The react community has become a big cargo cult. There are some good ideas in the community and many Bad Ideas™. Paving the bad idea cowpaths lends a sense of legitimacy to these bad technical ideas that is not merited.
-
-
dylanvann.com dylanvann.com
-
github.com github.com
-
I'm suggesting there should be a way to write lifecycle related code that also responds to changing props, like how useEffect works. I think how React handles this could be a good source of inspiration.
-
- Sep 2020
-
medium.com medium.com
-
-
Sites & appsthat feel rightby a team that doesn’t suck
-
- Aug 2020
-
pragmaticpineapple.com pragmaticpineapple.com
- Jul 2020
-
-
Context RAILS_ENV webpacker.yml NODE_ENV webpack config
-
- Jun 2020
- Apr 2020
-
ell.stackexchange.com ell.stackexchange.com
-
English tends to build new compound nouns by simply writing them as separate words with a blank. Once the compound is established (and the original parts somewhat "forgotten"), it's often written as one word or hyphenated. (Examples: shoelaces, aircraft...)
-
-
hswolff.com hswolff.com
- Mar 2020
-
www.cmswire.com www.cmswire.com
-
None Of Your Business
-
-
www.iubenda.com www.iubenda.com
-
Google Ad Manager (previously DFP – DoubleClick for Publishers)
-
-
developer.wordpress.org developer.wordpress.org
-
Used By
I like how they have indexed their core code base so they can show in both directions:
- which other core functions a function uses
- which other core functions use this function (references)
-
- Jan 2020
-
www.vanityfair.com www.vanityfair.com
-
This was the article from which I first heard about Solid platform...
-
- Dec 2019
-
git.savannah.gnu.org git.savannah.gnu.org
-
COMMAND EXECUTE BASHRC -------------------------------- bash -c foo NO bash foo NO foo NO rsh machine ls YES (for rsh, which calls `bash -c') rsh machine foo YES (for shell started by rsh) NO (for foo!) echo ls | bash NO login NO bash YES
-
-
github.com github.com
-
A UMD build will let people use your module via a global variable by dropping it into a <script> tag - this makes it easier to try without any build tooling in an HTML file, and in tools like JS Bin and CodePen.
-
-
- Nov 2019
-
reasonml.github.io reasonml.github.io
-
JavaScriptReason const x = 5;let x = 5; var x = y;No equivalent (thankfully) let x = 5; x = x + 1;let x = ref(5); x := x^ + 1;
-
-
-
The terms “controlled” and “uncontrolled” usually refer to form inputs, but they can also describe where any component’s data lives. Data passed in as props can be thought of as controlled (because the parent component controls that data). Data that exists only in internal state can be thought of as uncontrolled (because the parent can’t directly change it).
-
-
www.ag-grid.com www.ag-grid.comag-Grid1
-
Source code at:
- https://github.com/ag-grid/ag-grid-docs/blob/master/src/example.php
- https://github.com/ag-grid/ag-grid-docs/blob/master/src/example.js
This example appears to use client-side data, so it doesn't demonstrate server-side row models at all.
How did they color the monthly breakdown cells?
cellClassRules: { 'good-score': 'typeof x === "number" && x > 50000', 'bad-score': 'typeof x === "number" && x < 10000' },
Tags
Annotators
URL
-
-
www.behance.net www.behance.net
-
Top Web & Mobile App Development Company in USA , Australia , UAE, Canada , Hong Kong & India.
-
-
testing-library.com testing-library.com
-
No Match1 Match1+ MatchAwait?
-
-
adnauseam.io adnauseam.io
-
AdNauseam
-
- Oct 2019
-
github.com github.com
-
When you do import '../src/application.css', you're telling webpack include application.css in the build. This does not mean it's going to be compiled into your javascript, only that webpack now knows that you want to compile this file. How that file compilation is handled is depending on how your loaders (css-loader, sass-loader, file-loader, etc.. ) are configured.
-
-
stackoverflow.com stackoverflow.com
-
P can't be assigned {}, since the Generic Type P can be a more defined (or restricted) type.
-
- Sep 2019
-
github.com github.com
-
www.npmjs.com www.npmjs.comconstate1
-
home page: https://github.com/diegohaz/constate#readme
Tags
Annotators
URL
-
-
blog.angular-university.io blog.angular-university.io
- Aug 2019
-
www.robinwieruch.de www.robinwieruch.de
-
github.com github.com
-
Just by looking at the page you can see that it's not a normal check box. You are hiding the checkbox via CSS (opacity: 0) and replacing it with an image for styling reasons. Since the checkbox isn't visible Capybara can't find it. There are a couple of ways to deal with this, either find the element that contains the image being used as a replacement for the checkbox and click on that, or tell check/uncheck that it's allowed to click on the label if necessary to switch the checkbox
-
-
react-hook-form.com react-hook-form.comAPI1
- Sep 2016
-
proceedings.esri.com proceedings.esri.com
-
Methods of mining Twitter data to identify disease outbreaks and the problems encountered.
-
-
proceedings.esri.com proceedings.esri.com
-
Created a geocoder that returns social-economic data for a given location. Possibly usable to add social determinants to health records.
-
-
proceedings.esri.com proceedings.esri.com
-
Correlation analysis done on health outcomes and walkability in the community. Oregon counties ranked on a health index. Grouping analysis done on associated health outcomes.
-