Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

boilerplate without any framework #15

Closed
Sparkenstein opened this issue Mar 7, 2020 · 4 comments
Closed

boilerplate without any framework #15

Sparkenstein opened this issue Mar 7, 2020 · 4 comments

Comments

@Sparkenstein
Copy link

Great work on integrating all the must have security things in one place.
This is something every electron app should have. Unfortunately I don't really use react everywhere, especially with Redux. I wanted to create vanillajs electron apps.

Can we have a standard boilerplate without hard dependency on any framework? So that people who want to work with Vue or Angular will be able to just integrate themselves. And people who want to use it without framework are free to do so.

If creating another repo is harder, maybe we can just mention the steps to remove framework from existing app.

@reZach
Copy link
Owner

reZach commented Mar 7, 2020

Thanks @Sparkenstein.

If you are looking for a vanilla template, I think it's the best course of action to create a new repository, likely a fork of this one that could initially be set up to remove all the dependencies and then it's pure vanilla.

I was debating "what if we put it in here?" but then it makes it complicated because then I'd have to update the template in two locations and I only really intended to use this with react/redux (of course that's why it's MIT licensed - so if people desire no frameworks then they can work towards that 😄).

Are you comfortable enough with that suggestion? I can give you places where you'll have to rework the template to remove the frameworks. You'll be removing localization and undo/redo support, but I assume you didn't care about that (ie. a "vanilla" template is more important).

@Sparkenstein
Copy link
Author

Thanks for the reply @reZach
I actually started working on a template in my free time. So far I have removed Redux only 😛 But I plan to create one repo without any framework as well.
I agree than two different repos doing the same work differently, shouldn't be at the same place, I will surely push the work I have done as soon as it's finished.

Thanks for helping :D

@reZach
Copy link
Owner

reZach commented Feb 12, 2021

@Sparkenstein there are steps which you may follow to make this a JS-only template. They are proposed changes and may not reflect all the work that is necessary for this template.

@Sparkenstein
Copy link
Author

That is excellent. I am so sorry I created my own version at that time but forgot to update on this issue. my version is outdated now, but can be updated with simple commands:

https://github.com/fosslife/secure-electron-react

just an FYI this template just removes redux and some extra stuff, and does not change any recommended security guidelines

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants