bem / bem/bem-components

move lazyInit from js to bemhtml/bh in modifers

Open
#2,094 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
330
Forks
88
PR merge metrics
No merged PRs in 30d

Description

lazyInit in mods breake lazyInit on all blocks https://github.com/bem/bem-core/issues/1576
and not allowed after https://github.com/bem/bem-core/pull/1579/files

**upd**
or not need https://github.com/bem/bem-core/pull/1584

Contributor guide

Open the contributing guide

Research direction

Read bem-core issue 1576 and pull requests 1579 and 1584 first to understand the intended lazyInit behavior. Then inspect how lazyInit is handled in JavaScript modifiers and in BEMHTML/BH. Done means the behavior works for all blocks without the restriction described in the linked changes.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.