Pregunta de entrevista de Procore Technologies

Build an interpreter similar to React's JSX

Respuesta de la entrevista

Anónimo

6 ago 2018

I initially used a recursive function to traverse the string and create a tree with the HTML elements. It could have been done with a stack instead to avoid recursion though