neomjs / neo

The application worker driven frontend framework
https://neomjs.com
MIT License
2.83k stars 151 forks source link

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

Open tobiu opened 3 years ago

tobiu commented 3 years ago

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.

github-actions[bot] commented 1 week ago

This issue is stale because it has been open for 90 days with no activity.