Skip to content

Question: How does Electron concepts map NextJs ones ?  #92

@alfonsodev

Description

@alfonsodev

Hi,
thanks for making nextron possible!.
I wonder if it would be useful to add some specific documentation on how both Electron and NextJS map to each other, or overlap in Nextron.
From a beginner's perspective, it's a bit tricky to fully grasp how both platforms combine.
For example in NextsJS we have:

  • Build time vs request time.

And in Electron we have:

  • main process vs render process

My guess is that both build time and request time (getServerSideProps and getStaticProps) run in the main process, nodejs side, while the render process is equivalent to client side in Nextjs, so that the render process runs the code after Nextjs's code elimination.

Sorry if all this is too obvious, just want to verify I'm getting it correctly and perhaps I could contribute with documentation for begginers.

Additionally is there any other main core concept mapping that is useful to consider?
Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions