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 MDN Frontend Curriculum
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...
TBD References All your mainstream UI frameworks are lying to you
Use Rust as base language. TBD References WebAssembly adoption is slow and steady winning the race
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. ...
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...
TODO add a little example about what's pin a dependency and what solves Add the following code into package.json file: "resolutions": { "dependency": <pinned vers...
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...
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 Engines Ember Tests Ember Data References
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...
© 2024 • Contents under CC-BY-NC • Credits