ilyar / ilyar/bem-examples

Update someBlock

Open
#1 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

beginner challenge enhancement
Dominant language
JavaScript
Stars
0
Forks
0
PR merge metrics
No merged PRs in 30d

Description

Обновить реализацию блока `someBlock`.

Блок демонстрирует использование технологии `bemtree` и `bemhtml` на клиенте.
> Историческая справка по реализации https://ru.bem.info/forum/-632/

- [x] (commit) обновить проект по текущему bem/project-stub (сборшик `enb`);
- [x] (commit) добавить сборку `bemtree`, подсмотреть [тут](https://github.com/ilyar/project-stub/commit/20b84a1a8986b2f76c0aea15cc276f4a3d95aed6);
- [x] (commit) обновить реализацию `someBlock`:
- [x] CSS использовать `postcss`;
- [x] JS мигрировать на актуальную версию `bem-core`;
- [ ] возможно потребуется сделать еще что-то, если не заработает.

Ожидаемый результат: Используя собранный бандл (_index.css и _index.js) в этом примере http://jsfiddle.net/ilyar/5dw8Q/ результат примера останется прежним.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Review the existing someBlock implementation alongside the current bem/project-stub setup, including the enb build and the bemtree/bemhtml client usage. Start by checking the generated _index.css and _index.js bundles, then compare their behavior in the linked jsfiddle; done means the example's result remains unchanged after the migration.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
build-system, frontend
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.