public ReactElement Create() { if (_stack.Count != 0) { throw new InvalidOperationException($"{_currentElement.Name} is not closed"); } return((ReactElement)_currentElement.Build()); }