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

Functional component support #14

Open
michTheBrandofficial opened this issue Jan 27, 2023 · 4 comments
Open

Functional component support #14

michTheBrandofficial opened this issue Jan 27, 2023 · 4 comments

Comments

@michTheBrandofficial
Copy link

Hi robb-j.

My name is Ikechukwu Charles. I read your blog about using jsx without react and it was really intriguing, thank you for it.. Anyway, in the post, I saw that you used variables containing jsx elements. I recently found a way to add support for functional components to your createElement function.

I don't know if this project is open source but if it is, then I would want to add that support for it.

You can email me at [email protected] if you would like me to do so. Thank you again.

@scruffycoderofficial
Copy link

Hi robb-j.

My name is Ikechukwu Charles. I read your blog about using jsx without react and it was really intriguing, thank you for it.. Anyway, in the post, I saw that you used variables containing jsx elements. I recently found a way to add support for functional components to your createElement function.

I don't know if this project is open source but if it is, then I would want to add that support for it.

You can email me at [email protected] if you would like me to do so. Thank you again.

How possible can it be for you to showcase how you've achieved adding functional components?

@michTheBrandofficial
Copy link
Author

Hello @scruffycoderofficial 👋.

You can read the code snippet from the code I wrote for my open source JS framework I made. At https://github.com/michTheBrandofficial/NixixJS

@michTheBrandofficial
Copy link
Author

After weeks of research, I have found how to add functional components to the code. With a function called "Nixix.create".

I am currently looking for contributors to the project to push it forward. If you don't mind, would you like to join?

@robb-j
Copy link
Owner

robb-j commented Dec 2, 2023

Hi @michTheBrandofficial, I completely missed this, I didn't seem to get a notification. The post is more of a general guide / starter point for using JSX without React so I don't think it should be updated. If you have a blog post I could add a link at the bottom detailing your technique! I'd also generally be interested in how you got that to work if you want to explain it!

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

3 participants