Joins the given array of renderable elements with the given separator. Works like Array.join but returns an array
instead of a string. Useful for separating JSX elements with a comma or horizontal rule where Array.join would not
work as desired. Removes unrendered elements automatically (e.g. empty string or null)
Joins the given array of renderable elements with the given separator. Works like
Array.joinbut returns an array instead of a string. Useful for separating JSX elements with a comma or horizontal rule whereArray.joinwould not work as desired. Removes unrendered elements automatically (e.g. empty string ornull)