Leon Radley
Member since May 3, 2017
- Profile: /members/13507-leon-radley.htm
- Comments: 7
Recent Blog Comments By Leon Radley
-
Human Redux By Henrik Joreteg
Posted on Nov 5, 2018 at 12:59 PM
Take a look at Akita I find it is easier to grasp than ngrx but still uses the redux mindset https://github.com/datorama/akita It's also built for angular which means it uses di in it's favour.... read more »
-
Margin Collapsing Causes Unexpected Scrollbar With 100vh Body In Webkit
Posted on Dec 27, 2017 at 2:39 PM
By setting html { height: 100vh; } and body { min-height: 100vh; } it works better. https://plnkr.co/edit/wIYU48?p=preview... read more »
-
Margin Collapsing Causes Unexpected Scrollbar With 100vh Body In Webkit
Posted on Dec 27, 2017 at 2:33 PM
Sorry I was mistaken. it still happens. Very strange...... read more »
-
Margin Collapsing Causes Unexpected Scrollbar With 100vh Body In Webkit
Posted on Dec 27, 2017 at 2:30 PM
It only seems to happen when you apply min-height: 100vh; to both html and body. If you instead only apply it to the body the problem goes away. https://plnkr.co/edit/wIYU48?p=preview... read more »
-
Sanity Check: Shared Style Urls Are Only Compiled Into Angular 5.0.1 Once
Posted on Nov 13, 2017 at 1:29 PM
What happens if you use the webpack extract text plugin? Does webpack produce a shared selector? Very interesting either way :)... read more »
-
Using Import = Require Syntax With TypeScript 2.2 In Angular 2.4.9
Posted on May 4, 2017 at 2:45 AM
@Ben I made a quick demo repo for you https://github.com/leon/demo-ng-lodash... read more »
-
Using Import = Require Syntax With TypeScript 2.2 In Angular 2.4.9
Posted on May 3, 2017 at 4:21 PM
There is a typescript compiler option called allowSyntheticDefaultImports which allows you to import without the strange * syntax. Though I'm not sure if it's a best practice to use it.... read more »