- Basepath - to hard to use, base path folder places bundled and static files to root
- how to get current path?
- url depends from file, not link
- isActive issue if need exact path
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0xBf70e358aCC928BFD31EcEf6aE3f7877c336952A |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <div> | |
| <img src={avatar} alt="avatar" /> | |
| </div> | |
| <button on:click={() => fileAvatarEl.click()}> | |
| Change | |
| </button> | |
| <input | |
| bind:this={fileAvatarEl} | |
| type="file" | |
| name="avatar" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export const BankSuggestions = withStyles(styles)(BankSuggestionsRender); | |
| export function BankSuggestionsRender({ classes, city, loanType, ownershipType }: Props) { | |
| const bankCards = bankList | |
| .filter((bank) => (bank.cities.some((cityBank) => (cityBank.city === city)))) | |
| .filter((bank) => (bank.rates.some((rateBank) => | |
| ((rateBank.propertyType === loanType) || (rateBank.propertyType === ownershipType)) | |
| ))) | |
| .map((bank, key) => { |
https://egghead.io/
https://github.com/trekhleb/javascript-algorithms
https://habr.com/post/359192/ алгоритмы на js все
https://www.youtube.com/watch?v=j4_9BZezSUA event loop
https://fseby.wordpress.com/2016/02/25/практическая-вводная-в-монады-в-javascript/
https://habrahabr.ru/company/mailru/blog/327522/ (Функциональное программирование в JavaScript с практическими примерами)
https://habrahabr.ru/post/298134/ (FizzBuzz, или почему программисты не умеют программировать)
http://dmitrysoshnikov.com/ecmascript/javascript-the-core-2nd-edition-rus/ (всякое общее)
https://medium.com/@frontman/приведение-типов-в-js-9d6f1845ea96 (приведение типов и др. инфа)