Skip to content

Instantly share code, notes, and snippets.

@granmoe
granmoe / React Join Children
Last active December 7, 2022 14:50
Ever wanted to join react children like you join an array?
This file is only here to provide the title of the gist
@wboykinm
wboykinm / .block
Last active February 25, 2021 01:51 — forked from michellechandra/README.md
Modular US State Choropleth
license: MIT

Could you elaborate on how this isn't working? What are you expecting to happen and what happens instead? If you enable web developer extensions, are there any errors in the console, and what are those errors, and in what browser and browser version do they appear?

// If we can create a SVG element, and it has the basic function of SVG
if(!!document.createElementNS
&& !!document.createElementNS('http://www.w3.org/2000/svg', "svg").createSVGRect) {
// The browser supports SVG
} else {
// The browser DOESN'T support SVG yet
}