When upgrading from EmberJS 3.25 to 4.X, I removed old code deprecations and I have the following error while running ember t s: This test relies on a deprecated test setup that is no longer su...
References On good software engineers The future of Software Engineering (2024) How to ship at big tech companies
Context In EmberJS, they have replaced Broccoli compilating library for Embroider that uses Webpack internally. Problem The interface for handling source maps in the EmberJS builder has changed,...
Usual issues with Embroider Handling sourcemaps with Embroider
Links to study Generator functions Subresource Integrity (SRI)
Context There's an interesting article published by Gergely Orosz That talks about the current state of the Tech Ecosystem and the future ahead for software engineers. In the talk he gets deep...
Context The idea is to get a list of EmberJS libraries and tag them if they are abandoned and what alternative exists for them. Later, my idea is to take the "best looking" alternatives ...
Problem TypeScript doesn't support by default resolving JSON modules because it needs to infer the static type of the JSON file. In NodeJS projects, it's common practice to import static J...
Context In EmberJS v5.0, the Array prototype extensions were deprecated. They were needed to adapt Arrays into reactivity system but aren't needed anymore. This included a bunch of customized ...
References MDN Frontend Curriculum DevDocs
Context When using code from other files or dependencies, we need to import them into our files. There are two ways to do it: using CommonJS syntax or ES modules. CommonJS Standard in NodeJS co...
Type tilde (Spanish keyboard) ~ Use AltGr + Ñ instead of AltGr + 4 (Windows). References How do I type a tilde in spanish keyboard?
References HTML: The Bad Parts
Context When developing a new feature in frontend, sometimes we want to assert that the data sent to the API is valid, not only the effects after the API is resolved. In Cypress, we can intercept...
Questions What are Large Language Models and how they work? Could I create an app using AI? What are their limits and their advantages? What are real examples where the AI could be...
Open Cargo.toml. It should show something like the following code: ``` [workspace] [package] name = "stories52" … [lib] cratetype = ["cdylib", "rlib"] [dependencie...
Tools Ideas to improve webperformance: Rust and WebAssembly Help myself with Leptos => does it really improve performance? WebComponents Project idea TODO Draw a diagram of this. ...
TBD References All your mainstream UI frameworks are lying to you Lit Development generator
Use Rust as base language. TBD References WebAssembly adoption is slow and steady winning the race
Context Sometimes we could have async functions in our code with parameters that could be modified as a side effect in a different function. This is usually a result of a bad architecture in the c...
Context The library for NodeJS request is deprecated since 2019 but it's still being used by a lot of my own libraries. There's the needing to migrate from request to the most updated lib...
Problem Solution References Ember Data Model Fragments EOL Ember Data Roadmap RecordData v2 RFC emberm3 Ember Data 5.x Update Custom Model Classes RFC Ember Data Model Fragments su...
This is related with monorepos TODO add a little example about what's pin a dependency and what solves Add the following code into package.json file: "resolutions": { "depen...
Libraries ArrowJS: Reactivity without a framework
TBD Resources OpenAPI Specs
Write in the Chrome Inspector / Firefox Developer Tools: debuggingMethod = window.debugginMethod; window.debuggingMethod = function (...arguments) { console.trace(arguments); // console.log d...
Tools Husky A JavaScript tools to use git hooks in JavaScript projects. Commit without running hooks Specially useful when it's needed to commit some WIP code. It needs to use n/noverify o...
Issue Uncaught Error: Attempted to handle event becameInvalid on <modelname:6315DE1CE9DB9CE94775F4D4> while in state root.loaded.saved. log(parent.currentState.stateName); // ro...
After upgrading EmberJS from 3.25 to 3.28, I started to have issues with relationships with Ember Data inside Ember Tests. The hasMany relationships were empty. I have the following configuration:...
Common commands in Cypres Type in an input cy.get('[datatestinput="input"]').type('Example text') Assert sent data to API cy.intercept( { pathname: "/catego...
Ember Tools Glint Typechecker for Ember templates (Components, Helpers and Modifiers) similar to tsc in TypeScript. It specially oriented to Glimmer components in TypeScript, but it can work with...
Basic Concepts Creating an Array let arr: Vec<String> = vec!["example".to_string()]; Array of objects pub struct Book { pub id: u16, pub title: String, } ... l...
Install Cargo Leptos for Windows Subsystem Linux and Cargo Leptos v0.2 (repository]: Install Rust: curl proto '=https' tlsv1.2 sSf https://sh.rustup.rs | sh Install dependencies: ...
Adding dependency from specific commit "devDependencies": { ... "externallibrary": "github.com:<user>/<library>.git#<commit_id&g...
Override Introduced in TypeScript v4.3. References https://dev.to/lioness100/introducingtypescriptoverridekeyword4b36 https://www.typescriptlang.org/docs/handbook/releasenotes/typescript43.h...
Types TODO: differ note vs essay note essay ideas TODO Decide my own structure and hierarchy for Digital Gardens and adapt to my needs Split essay into two different notes: list of...
TBD read article of personal user manual and create own framework. References Personal User Manual
© 2024 • Contents under CC-BY-NC • Credits