it is HTJS now
it is HTJS now
React it is then 😄. It only has 2 dependencies:
- react
- loose-envify
- js-tokens
Likely they want a lower time complexity.
for example a question can be trivially solved in O(n^2). but there is no know < O(n) solution, so they ask for O(n)
What do you want to use for frontend framework then?
python, ruby, java, C? Invent a new language?
you will see me screaming “X is for Y, it should have never been a whole framework for a frontend”
By banishing the bad part of the language with linter.
For instance, standard eslint preset has rules that enforce usage of ===
, https://eslint.org/docs/latest/rules/eqeqeq
These rules often come with project starter template
Looks confusing at first, but I found it nice for accessing a month array.
const months = ["Jan", "Feb", ...];
months[0] === "Jan";
const label = months[date.getMonth()];
maybe it is similar to “how to destroy all instances belonging to a class”
npm ruin dev
npm ruin lint
npm ruin build
23 USD
not all are paid equally