Alex Raputa

Results 8 comments of Alex Raputa

@rtablada, Can u try: ```js async beforeModel(transition: Transition) { transition = this.router.transitionTo('login'); // or this.router.replaceWith('login'); return await super.beforeModel(transition); } ```

👎 It might look better.

@rob006, 👍 it looks much better.

@kpfefferle Are you using `createRecord` in a native getter with the `@cached` decorator? ```js @cached get record() { return this.store.createRecord('record'); } ``` Maybe some code like that caused the error.

@runspired, this code also cause the deprecation: ```js import { inject as service } from '@ember/service'; import Component from '@glimmer/component'; export default class Checkout extends Component { @service store; order;...

> transaction primitive It would be nice to have API like that. > That said, it would be better if this was built into @glimmer/tracking. @wycats, maybe @starbeamjs have the...

@froschdesign By using `"slevomat/coding-standard"` "^8", we will be able to utilize the latest rules for attributes, named function parameters and many other useful rules.

New sniffs that are available from `^8`: [SlevomatCodingStandard.Classes.BackedEnumTypeSpacing](https://github.com/slevomat/coding-standard/blob/master/doc/classes.md#slevomatcodingstandardclassesbackedenumtypespacing-) [SlevomatCodingStandard.Complexity.Cognitive](https://github.com/slevomat/coding-standard/blob/master/doc/complexity.md#slevomatcodingstandardcomplexitycognitive) [SlevomatCodingStandard.Files.FileLength](https://github.com/slevomat/coding-standard/blob/master/doc/files.md#slevomatcodingstandardfilesfilelength) [SlevomatCodingStandard.Classes.ClassLength](https://github.com/slevomat/coding-standard/blob/master/doc/classes.md#slevomatcodingstandardclassesclasslength) [SlevomatCodingStandard.Attributes.AttributesOrder](https://github.com/slevomat/coding-standard/blob/master/doc/attributes.md#slevomatcodingstandardattributesattributesorder-) [SlevomatCodingStandard.Attributes.AttributeAndTargetSpacing](https://github.com/slevomat/coding-standard/blob/master/doc/attributes.md#slevomatcodingstandardattributesattributeandtargetspacing-) [SlevomatCodingStandard.Attributes.DisallowMultipleAttributesPerLine](https://github.com/slevomat/coding-standard/blob/master/doc/attributes.md#slevomatcodingstandardattributesdisallowmultipleattributesperline-) [SlevomatCodingStandard.Attributes.DisallowAttributesJoining](https://github.com/slevomat/coding-standard/blob/master/doc/attributes.md#slevomatcodingstandardattributesdisallowattributesjoining-) [SlevomatCodingStandard.Attributes.RequireAttributeAfterDocComment](https://github.com/slevomat/coding-standard/blob/master/doc/attributes.md#slevomatcodingstandardattributesrequireattributeafterdoccomment-) [SlevomatCodingStandard.Classes.EnumCaseSpacing](https://github.com/slevomat/coding-standard/blob/master/doc/classes.md#slevomatcodingstandardclassesenumcasespacing-) [SlevomatCodingStandard.Classes.RequireSelfReference](https://github.com/slevomat/coding-standard/blob/master/doc/classes.md#slevomatcodingstandardclassesrequireselfreference-) [SlevomatCodingStandard.Variables.DisallowVariableVariable](https://github.com/slevomat/coding-standard/blob/master/doc/variables.md#slevomatcodingstandardvariablesdisallowvariablevariable) [SlevomatCodingStandard.ControlStructures.DisallowTrailingMultiLineTernaryOperator](https://github.com/slevomat/coding-standard/blob/master/doc/control-structures.md#slevomatcodingstandardcontrolstructuresdisallowtrailingmultilineternaryoperator-) [SlevomatCodingStandard.Arrays.AlphabeticallySortedByKeys](https://github.com/slevomat/coding-standard/blob/master/doc/arrays.md#slevomatcodingstandardarrayalphabeticallysortedbykeys) [SlevomatCodingStandard.Classes.DisallowStringExpressionPropertyFetch](https://github.com/slevomat/coding-standard/blob/master/doc/classes.md#slevomatcodingstandardclassesdisallowstringexpressionpropertyfetch-) [SlevomatCodingStandard.Strings.DisallowVariableParsing](https://github.com/slevomat/coding-standard/blob/master/doc/strings.md#slevomatcodingstandardstringsdisallowvariableparsing) [SlevomatCodingStandard.Arrays.DisallowPartiallyKeyed](https://github.com/slevomat/coding-standard/blob/master/doc/arrays.md#slevomatcodingstandardarraysdisallowpartiallykeyed) [SlevomatCodingStandard.Commenting.AnnotationName](https://github.com/slevomat/coding-standard/blob/master/doc/commenting.md#slevomatcodingstandardcommentingannotationname-) [SlevomatCodingStandard.Arrays.ArrayAccess](https://github.com/slevomat/coding-standard/blob/master/doc/arrays.md#slevomatcodingstandardarraysarrayaccess-) [SlevomatCodingStandard.Functions.NamedArgumentSpacing](https://github.com/slevomat/coding-standard/blob/master/doc/functions.md#slevomatcodingstandardfunctionsnamedargumentspacing-)