Comments (5)
Thanks for giving reference of monofile project. I read the topic with a lot of public opinions and before is the mini list of pros and cons
Pros
- Easier to kick start
- faster rollout for the initial phase
- easy to understand the whole logic in a single file by what to do and what not to. (by this you do not need to move from one file to another while going through code in initial stage)
- normally do it for POCs
cons
- Problem in maintaining the code in the long run
- difficult to understand the solution for peers
- changes may cause conflicts in the merge
- Normally do it for maintaining the project for a long time with many contributors
And many more pros and cons.
from apple-signin-auth.
Thank you for giving me credit on it 😂
from apple-signin-auth.
@NitinHsharma Quite a nice analysis! ( :
So let's close this for now and reopen it once the project scales a bit? thoughts? 🚀
(Feel free to reopen!)
from apple-signin-auth.
Ooopssss! 😂 Thanks for bringing to my attention, fixed!
Special thanks to the awesome @NitinHsharma 🚀
from apple-signin-auth.
Hey @NitinHsharma! Thank you so much for your proposal! Really nice notes you got there.
Generally I am a fan of modularization, however, recently Getlify and Dan Abramov brought up a very nice topic about how monofile projects are much easier to manage at the beginning since they focus on the core functionality. They both agreed, and I do as well, that one should start modularizing when one feels the monofile would grow out of hand.
What are your thoughts on this? 🚀
NOTE: Generally I use a similar structure to you mentioned, however I noticed that with this specific project monofile is so much easier to manage. (specially if we decide to move to typescript)
Your input is highly appreciated!
from apple-signin-auth.
Related Issues (20)
- verifyIdToken invalid id token public key id ignoreExpiration HOT 5
- Support Cloudflare Worker HOT 2
- Is this OAuth2 client? HOT 1
- revokeAuthorizationToken returns nothing HOT 10
- Support revoking Access Tokens HOT 1
- FetchError: invalid json response body at https://appleid.apple.com/auth/revoke HOT 1
- o.URL is not a constructor HOT 5
- How to get the user details HOT 1
- jsonwebtoken dependency version has security vulnerabilities HOT 7
- Request HOT 1
- Redirect URI HOT 1
- Sign in with apple for Electron HOT 1
- getAuthorizationToken => { error: invalid_client } HOT 5
- Release notes formatting HOT 1
- Error getAuthorizationToken => invalid_client HOT 1
- Proxy issue HOT 6
- Next.js error: Global CSS cannot be imported from within node_modules. HOT 2
- Support for validating Sign in with Apple server-to-server notifications HOT 1
- accessToken is not valid. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apple-signin-auth.