This file contains 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
// This gist aims to explain how it's possible that async functions inside React | |
// using createFetcher(Promise).next(key) can work. | |
// A possible implementation of the new createFetcher function | |
// as shown by https://twitter.com/jamiebuilds/status/969169357094842368 | |
// @param method, should be a function returning a Promise. | |
// @returns an object with a property 'read', used to read values from the resolved 'cache'. | |
const createFetcher = function(method) { | |
// First create a Map for the resolved values. | |
const resolved = new Map() |
This file contains 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
// DISCLAIMER: this script can and probably will break as soon as the Rabobank decides to change their website | |
// I won't maintain this in any way | |
// currently only logs: | |
// AccountNumber, transactionDate (not interestDate), debit or credit, amount, beneficiaryBank, beneficiaryName and description | |
// The reason I wrote this is because the Rabobank export function doesn't let you export this data if it's older than 1.5 years. | |
// If you need older data, Rabobank can send you the paper version, and charges you about €5 for each month you need, with a maximum of €25,- | |
// However you can search and view older the transactions | |
// To use: On rabointernetbankieren go to advanced search, select a period and hit search |