I’m trying to reproduce some examples of this course: https://www.youtube.com/playlist?list=PL9yYRbwpkykuK6LSMLH3bAaPpXaDUXcLV (Datavis 2020) in Observable.
I’d successed in most examples, but in a specific video a need a ReactDropdown component, but I can’t import it.
I use a require command like follow:
ReactDropdown = require('https://email@example.com/dist/umd.min.js')
But I get this error:
ReactDropdown = TypeError: n is undefined
Then, I tried use instructions available in Module require debugger / Observable / Observable and used the follow import instructions:
ReactDropdown = require('firstname.lastname@example.org/dist/index.js').catch(() => window["_createClass"])
But doesn’t worked too.
I’m new in the d3 and react ecosystem, then I think I have make some newbie mistakes, but I’ve search for solutions without success.
Thanks in advance for the help.