{"id":22278137,"url":"https://github.com/robbestad/svenjsx","last_synced_at":"2025-03-25T18:21:03.530Z","repository":{"id":57375437,"uuid":"46979143","full_name":"robbestad/svenjsx","owner":"robbestad","description":"JSX-support for SvenJS","archived":false,"fork":false,"pushed_at":"2018-08-23T06:59:59.000Z","size":56,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-24T21:03:54.978Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/robbestad.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGES.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-11-27T12:28:31.000Z","updated_at":"2018-08-23T07:00:01.000Z","dependencies_parsed_at":"2022-09-14T11:41:47.842Z","dependency_job_id":null,"html_url":"https://github.com/robbestad/svenjsx","commit_stats":null,"previous_names":["svenanders/svenjsx"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbestad%2Fsvenjsx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbestad%2Fsvenjsx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbestad%2Fsvenjsx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/robbestad%2Fsvenjsx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/robbestad","download_url":"https://codeload.github.com/robbestad/svenjsx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245516793,"owners_count":20628227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-03T15:13:12.130Z","updated_at":"2025-03-25T18:21:03.494Z","avatar_url":"https://github.com/robbestad.png","language":"JavaScript","readme":"# SVENJSX\n\nSVENJSX is a support tool for [SvenJS](https://github.com/svenanders/svenjs). It allows you to write JSX syntax in your _render_ code, like this:\n\n```html\nvar Sven = require(\"svenjs\");\nvar clickyComponent = Sven.create({\n    initialState: {\n        clicks: 0\n    },\n    render() {\n    let svenFunc = () =\u003e{\n      this.setState({clicks: this.state.clicks++ });\n    }\n    return (\u003cdiv id=\"row\"\u003e\n        \u003cdiv id=\"app\"\u003e\n            \u003ch3\u003eThe Click App\u003c/h3\u003e\n            \u003cbutton onClick={svenFunc}\u003eWhy not click me?\u003c/button\u003e\n        \u003c/div\u003e\n        \u003cdiv id=\"time-travel\"\u003e\n            \u003ch3\u003eClick stats\u003c/h3\u003e\n          \u003cp\u003eYou have clicked on the button {this.state.clicks} times\u003c/p\u003e\n        \u003c/div\u003e\n    \u003c/div\u003e)\n    }\n});\n```\n\n## Related Modules\n\n* [svenjsx-loader](https://www.npmjs.com/package/svenjsx-loader) - Webpack loader for SVENJSX.\n\n## ISC Licensed\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbestad%2Fsvenjsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frobbestad%2Fsvenjsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frobbestad%2Fsvenjsx/lists"}