Adds validation around passing in undefined ids, which can commonly occur when incorrectly accessing part of the plugin config. Left these validations as console.warn since we wouldn't want this to be a breaking change in case people are passing in undefined on first render, then a valid config item on the next.
Also cleans up some comments and types ahead of the next version bump.
Adds validation around passing in
undefined
ids, which can commonly occur when incorrectly accessing part of the plugin config. Left these validations asconsole.warn
since we wouldn't want this to be a breaking change in case people are passing inundefined
on first render, then a valid config item on the next.Also cleans up some comments and types ahead of the next version bump.