The "fast slider" is a perfect example of how animations make something perceptually slower, and might even be problematic as it implies the underlying value change is lagging behind the UI update.
Microsoft Fast Design
41–50 of 216 posts
Re: Microsoft Fast Design
#42Re: Microsoft Fast Design
#43Check out the FAST Component explorer to see it in action: https://explore.fast.design/ Looks very flexible but the presentation and default design is horrible.
The default design looks awful, especially on phone. I’m not a frontend dev, but I don’t see any reason why would I use this instead of, for example, Bootstrap for sideprojects. Can some FE comment on the project usefulness? Why go with Fast?
(I'm not a front end dev myself, but do enough full stack to think I know what is going on here.)
Re: Microsoft Fast Design
#44Ok, so it looks like the main point of this is fast-components, which is a just a bunch of components styled as MS-style, but I'm more interested in the fast-foundation package. According to the instructions: > The exports of this package can generally be thought of as un-styled base components that implement semantic and accessible markup and behavior. > it exports parts and pieces intended to be composed into Web C…
The foundation package sounds a lot like the Lion components that ING Bank open sourced last year. It is indeed super handy to not have to worry about all the browser compatibility and accessibility issues!
Re: Microsoft Fast Design
#45It looks like LitElement but more TypeScript first. The decorators do make it a bit more approachable for me.
LitElement is written in TypeScript so has great typings for all APIs, and TypeScript (and Babel 7) decorators. There's also a template type-checker CLI, compiler plugin, and VS Code extension: https://github.com/runem/lit-analyzer The big difference from Fast is that LitElement's render() method is an instance method, so it can access any state with `this.` and any properties and methods it uses can be overridden. B…
Re: Microsoft Fast Design
#46The "fast slider" is a perfect example of how animations make something perceptually slower, and might even be problematic as it implies the underlying value change is lagging behind the UI update.
Also, clicking anywhere on the bar doesn't set the slider to the centre of the click. They don't appear to be making the correct calculations based on Bounding Client Rects and Offset widths.
Re: Microsoft Fast Design
#47Kind of surprises me that Microsoft allowed this project to use Discord for external communication.
Re: Microsoft Fast Design
#48Re: Microsoft Fast Design
#49Forgive me if I don't get what's happening here. The coffee maker broke last night.
Re: Microsoft Fast Design
#50Earlier quoted context omitted.
LitElement is written in TypeScript so has great typings for all APIs, and TypeScript (and Babel 7) decorators. There's also a template type-checker CLI, compiler plugin, and VS Code extension: https://github.com/runem/lit-analyzer The big difference from Fast is that LitElement's render() method is an instance method, so it can access any state with `this.` and any properties and methods it uses can be overridden. B…
Yeah, LitElement definitely has a cleaner render template. How would one do a computed property in LitElement?
class MyElement extends LitElement {
@property() value: number = 42;
get valueSquared() {
return this.value ** 2;
}
}
If the value is expensive to compute you can memoize it in the getter, or set it in update.