@MLGW help! It has been 114 hours of this outage MyAccount still says “waiting on damage assessment” with no estimated repair time. We are trying to be patient, but could you tell me the DAY I will have electricity again?
@ryanfiller_ @reactjs I think it is because html attributes are case insensitive, where as the DOM APIs are case sensitive.
<a href="#" tAbInDex=1>Made with Html</a>
const a = document.createElement('a')
// will work
a.tabIndex = 2
//wont work
a.tabindex = 11
a.innerHTML = 'Made with JS'
@wesbos My team once added a dummy phone number to our base html page for this reason. If iOS turned it into a link we knew we were on a device that could make phone calls and we client rendered the tel prefix.
@wesbos I think iOS still adds the tel: prefix if the html of the page contains the number. If you client render in JS a phone number it doesn’t get picked up.
@thatkatiegirl We did Poplar and E parkway on day 1. Line was long compared to past years but they were very organized and it took only 18 minutes total.
@rikki_js @tgriesser @bahmutov @Benjie Very excited to see what you have @tgriesser. Mocking graphql with addMockFunctionsToSchema and test specific resolvers has been great for all types of tests. Jest, Cypress, even Selenium (haha).
@ryanfiller_ You could use useMemo or useCallback to keep the function identity from changing and causing all consumers to re render when that component does. Not sure if that is a good idea or not.
The ever-brilliant @nsmith2 will be presenting tomorrow night on Testing with React, Apollo and Jest. If you made a resolution to test your JS, this is the meetup for you! RSVP here: https://t.co/TZjVjqEsil