neo icon indicating copy to clipboard operation
neo copied to clipboard

Rewrite "How to create a webworkers driven multithreading App — Part 1"

Open tobiu opened this issue 4 years ago • 0 comments

The the latest framework & ecosystem enhancements contain several changes and improvements.

The "getting up to speed" blog post needs a new version to reflect them.

Old article (friends link): https://medium.com/swlh/how-to-create-a-webworkers-driven-multithreading-app-part-1-fa0cc78a4237?source=friends_link&sk=a10ca85002f5f9c3ee8c69f53c79d95f

E.g. the starting point for apps did change:

old:

import MainContainer from './view/MainContainer.mjs';

Neo.onStart =() => {
    Neo.app({
        appPath : 'apps/covid/',
        mainView: MainContainer,
        name    : 'Covid'
    });
};

new:

import MainContainer from './view/MainContainer.mjs';

const onStart = () => Neo.app({
    mainView: MainContainer,
    name    : 'Covid'
});

export {onStart as onStart};

The new article should contain more gists instead of screenshots.

Unfortunately, this is a lot of work, since we need to set up a new repo and match the commits with the new blog post.

Rough estimate: 1 full day.

tobiu avatar Apr 19 '21 08:04 tobiu