Document + support switching between native mode and transpiled mode
Nobody has claimed this yet.
- Dominant language
- Swift
- Stars
- 3.2k
- Forks
- 106
- Avg merge
- 6d 13h
- Merged PRs (30d)
- 1
Description
The only documentation for how to turn on native mode for Skip is to skip init --native-app or --native-model.
I've found it really useful even when ultimately targeting transpiled mode to do work in native mode, get my code working that way, and then transpile it. This ensures that my initial issues will all be in limitations with SkipUI with no transpilation issues, and then, when I go to transpile, I'll know that my code can work in SkipUI, and that the only issue is transpilation.
Today, I do that by copying and pasting source code between a native project and a transpiled project; that's a hassle. I wish there were a config setting I could use for this, instead, making switching between modes as easy as updating a config setting.
Or, if that's not feasible, I wish I could run a skip command to switch between modes without creating a fresh project with init.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the existing documentation for skip init --native-app and --native-model, then determine how switching between native and transpiled modes should work without copying source between projects. Define whether a configuration setting or a skip command is the intended workflow, and verify that the chosen approach supports both modes.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100