Viewing profile — jacobr
jacobr
HN member- Joined
- Wed, Mar 02, 2011, 4:28 PM UTC
- HN karma
- 5,743
- Public activity
- 676 items
- HN profile
- View on Hacker News ↗
About jacobr
jacob@jacobrask.net https://github.com/jacobrask http://twitter.com/jacobrask
Gothenburg, Sweden.
Recent public activity
- story
-
comment
Comment #44530260
Could the next-gen version control system just store ASTs? Does this already exist? Every user gets their own preferred formatting, and linters and tools could operate on already-p…
- story
- story
-
comment
Comment #41981407
You can even benefit from the default messages if you want that, grabbing `input.validationMessage` and rendering it as you wish.
- story
- story
- story
-
comment
Comment #40765186
Any article about rebase is incomplete without the mention of `git commit --fixup fb2f677`. When committing you usually already know which commit you’re “fixing” so you specify tha…
-
comment
Comment #39242676
``` const $ = document.querySelector.bind(document); $('.box').hidden = true; $('.box').hidden = false; ```
-
comment
Comment #39066056
"The concrete description of what is going on here is spread atom-thin across several websites, all of which expect you to know the terminology. Each of these websites provides you…
-
comment
Comment #38686704
There's a shift though, just the last couple of years. Today all browsers support native modals with the dialog element, accordions with details/summary, everything but Firefox sup…
- story
-
comment
Comment #37818755
It’s built in to VS Code, see editor.foldingImportsByDefault.
- story
-
comment
Comment #37150394
Yes, the biggest drawback of Tailwind is React. Or specifically, relying on components as the mechanism for style composition.
- story
-
comment
Comment #36562264
External css files are render blocking, meaning any content after a will not be visible until the css has been loaded.
-
comment
Comment #35432147
Looks a bit like tire inserts - basically foam rings you put inside the tire, common on mountain bikes. I just installed that on my bike, which not only protects my rims but also l…
-
comment
Comment #35062207
Because it’s easier to just not use lodash.
- story
- story
-
comment
Comment #34794768
Unfortunately none of that works with the feature in TFA because it’s not supported by Declarative Shadow DOM.
-
comment
Comment #34786810
I hear you. I think Shadow DOM is very useful for a handful of roots on your page, encapsulating third-party widgets or DOM-heavy components like a nested navigation. Custom Elemen…
-
comment
Comment #34782217
For example, encapsulating a third party widget, cookie banner or your main navigation. That way any CSS added inside the shadow DOM only affects those elements - you can safely wr…