framework-2021 icon indicating copy to clipboard operation
framework-2021 copied to clipboard

Add components with props, htmlx (v1.2)

Open OleksiyRudenko opened this issue 4 years ago • 3 comments

Pre-requisites:

  • Template literals & tagged letrals: write your own template parser:
    • simple interpolation
    • every param transformed (strings are enclosed in qoutes, numerics are multiplied, objects/arrays stringified, functions => FuncName())
  • Data Structures: write your own DOM tree and HTML renderer
  • RegExp: write your own HTML parser (HTML string => tree)

Task:

  • Function calls => HTMLX
  • Each function => component with props

OleksiyRudenko avatar Feb 14 '21 18:02 OleksiyRudenko

OleksiyRudenko avatar Mar 07 '21 13:03 OleksiyRudenko

  • have source code structured (fw, components, utils, data store)
  • have parametrized components

OleksiyRudenko avatar Mar 11 '21 07:03 OleksiyRudenko

Как работает JS: абстрактные синтаксические деревья, парсинг и его оптимизация https://habr.com/ru/company/ruvds/blog/415269/

OleksiyRudenko avatar Apr 22 '21 17:04 OleksiyRudenko