Function scoping in Reflux stores (static vs class methods)
While working on a store with some updating linting rules, I found a function that linting wanted it to be a static function, not a class function. Sure, that makes […]
While working on a store with some updating linting rules, I found a function that linting wanted it to be a static function, not a class function. Sure, that makes […]
To find the table that a constraint is in, you can do: SELECT * FROM all_constraints WHERE constraint_name = ‘the_constraint_name’ This is useful for finding child table(s) that have dependent […]
After working for many years with server-side technologies, where the full HTML is generated and sent back in one large chunk, it has been interesting to move to a modular […]
Quick command to get the SID of the currently logged in user for SSO validation: whoami /user This can be an extra layer of security above and beyond the username […]
I upgraded an application from React Router v2 to v3, then v4. The upgrade to v3 was relatively painless. The upgrade to v4 caused a few headaches, due to multiple […]
This is a really neat site for testing regular expressions in a vacuum: http://regex101.com/ I’ve used it a few times now to test the expression before implementing in code.
After updating to a newer lint rule set, we converted some components into pure functions. This made the linting happy, but broke the JEST unit tests. I did some debugging […]
This was a simple fix, but something that I had a lot of due to making a baseline template with most of the life cycle functions defined as empty functions. […]
Regardless of the language, formatting can be important. Sometimes it’s an OCD thing… sometimes it’s not. Some languages even control flow based on formatting alone! I recently spent about half […]
Continuing with implementation of new linting rules, I learned that you can have a ReactJS component that is defined as a stateless function, rather than explicitly as a component. The […]