-
-
Notifications
You must be signed in to change notification settings - Fork 16.3k
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
Use of name 'express' in JSX template engine name #5211
Comments
Hi @dqh-au thank you for reaching out on this, it is appreciated. So my understanding of what you are saying is that there would be a module named You certainly know NakedJSX better than I, but if you want to have things directly use the name "express" vs "express-jsx" in order to template with Express, I don't see any issue with it, personally. And of course as you flesh it out, I'm sure there are some places we can even add Express/NakedJSX links or usage to our website expressjs.com as well, if you like :) |
Hi @dougwilson, thank you, I really appreciate it! And links back once it's released would be fantastic. It hadn't occurred to me that a module called @nakedjsx/express might be ok - that is indeed a nice succinct name. And yes, there would be a module called '@nakedjsx/express', that starts NakedJSX in template engine mode and provides a template engine for express, used like this: (snippet taken from my current test project)
Usage sadly can't be quite as simple as other template engines, needs that little bit of setup above. Essentially NakedJSX watches a srcDir (containing NakedJSX pages) and generates Those files are imported (once) into NakedJSX and executed in response to requests to generate HTML and other content on demand. EDIT: things move quickly |
I'm soon to release a JSX based template engine for Express (powered by NakedJSX), and I've tentatively named it @nakedjsx/express-jsx. I have opened this issue to ask whether you are comfortable with this use of the name 'express'.
Of course, 'express-jsx' by itself wouldn't be appropriate as it would create confusion about who made it. But perhaps given that it would live under the @NakedJSX org, the name used in all practical contexts would be the combined '@nakedjsx/express-jsx' which I like because it makes two things clear:
What are your thoughts?
The text was updated successfully, but these errors were encountered: