block-components
block-components copied to clipboard
Make `PostMeta` component more robust by adding better error handeling if meta key doesn't exist
Currently, you can end up breaking a block if you use the PostMeta component with a metaKey that isn't supported for a given post type. Ideally the component should be self aware whether the current context supports the term and if it doesn't render an inline warning.